Public API

Default

deleteV1UsersId


/v1/users/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.deleteV1UsersId(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteV1UsersId");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.deleteV1UsersId(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->deleteV1UsersId: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.deleteV1UsersId(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#deleteV1UsersId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance deleteV1UsersIdWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.deleteV1UsersId(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class deleteV1UsersIdExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.deleteV1UsersId(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.deleteV1UsersId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->deleteV1UsersId($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->deleteV1UsersId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->deleteV1UsersId(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->deleteV1UsersId: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.delete_v1_users_id(id)
except ApiException as e:
    print("Exception when calling DefaultApi->deleteV1UsersId: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.deleteV1UsersId(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


getV1CardsPinSeedsCopy

Endpoint used to retrieve the list of the card linked to the logged user with the online dynamic pin enabled.


/v1/cards/pin/online

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/pin/online"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            get_v1_cards_pin_seeds___copy_200_response result = apiInstance.getV1CardsPinSeedsCopy();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1CardsPinSeedsCopy");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.getV1CardsPinSeedsCopy();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getV1CardsPinSeedsCopy: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            get_v1_cards_pin_seeds___copy_200_response result = apiInstance.getV1CardsPinSeedsCopy();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1CardsPinSeedsCopy");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

// 
[apiInstance getV1CardsPinSeedsCopyWithCompletionHandler: 
              ^(get_v1_cards_pin_seeds___copy_200_response output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getV1CardsPinSeedsCopy(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getV1CardsPinSeedsCopyExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                // 
                get_v1_cards_pin_seeds___copy_200_response result = apiInstance.getV1CardsPinSeedsCopy();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getV1CardsPinSeedsCopy: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->getV1CardsPinSeedsCopy();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getV1CardsPinSeedsCopy: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->getV1CardsPinSeedsCopy();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getV1CardsPinSeedsCopy: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    # 
    api_response = api_instance.get_v1_cards_pin_seeds_copy()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getV1CardsPinSeedsCopy: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.getV1CardsPinSeedsCopy(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


getV1PaymentsMethods

get payment methods


/v1/payments/methods

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/payments/methods?supplier_id=supplierId_example&source=source_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | supplier identifier
        String source = source_example; // String | portal reference

        try {
            array[paymentTermsOutputArray_inner] result = apiInstance.getV1PaymentsMethods(supplierId, source);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1PaymentsMethods");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String supplierId = new String(); // String | supplier identifier
final String source = new String(); // String | portal reference

try {
    final result = await api_instance.getV1PaymentsMethods(supplierId, source);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getV1PaymentsMethods: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | supplier identifier
        String source = source_example; // String | portal reference

        try {
            array[paymentTermsOutputArray_inner] result = apiInstance.getV1PaymentsMethods(supplierId, source);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1PaymentsMethods");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *supplierId = supplierId_example; // supplier identifier (optional) (default to null)
String *source = source_example; // portal reference (optional) (default to null)

[apiInstance getV1PaymentsMethodsWith:supplierId
    source:source
              completionHandler: ^(array[paymentTermsOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'supplierId': supplierId_example, // {String} supplier identifier
  'source': source_example // {String} portal reference
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getV1PaymentsMethods(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getV1PaymentsMethodsExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String | supplier identifier (optional)  (default to null)
            var source = source_example;  // String | portal reference (optional)  (default to null)

            try {
                array[paymentTermsOutputArray_inner] result = apiInstance.getV1PaymentsMethods(supplierId, source);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getV1PaymentsMethods: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | supplier identifier
$source = source_example; // String | portal reference

try {
    $result = $api_instance->getV1PaymentsMethods($supplierId, $source);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getV1PaymentsMethods: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | supplier identifier
my $source = source_example; # String | portal reference

eval {
    my $result = $api_instance->getV1PaymentsMethods(supplierId => $supplierId, source => $source);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getV1PaymentsMethods: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierId = supplierId_example # String | supplier identifier (optional) (default to null)
source = source_example # String | portal reference (optional) (default to null)

try:
    api_response = api_instance.get_v1_payments_methods(supplierId=supplierId, source=source)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getV1PaymentsMethods: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierId = supplierId_example; // String
    let source = source_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.getV1PaymentsMethods(supplierId, source, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
supplier_id
String
supplier identifier
source
String
portal reference

Responses


getV1UsersId


/v1/users/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

        try {
            userOutput result = apiInstance.getV1UsersId(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1UsersId");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 

try {
    final result = await api_instance.getV1UsersId(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->getV1UsersId: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

        try {
            userOutput result = apiInstance.getV1UsersId(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#getV1UsersId");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)

// 
[apiInstance getV1UsersIdWith:id
              completionHandler: ^(userOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = 56; // {Integer} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.getV1UsersId(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class getV1UsersIdExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)

            try {
                // 
                userOutput result = apiInstance.getV1UsersId(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.getV1UsersId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 

try {
    $result = $api_instance->getV1UsersId($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->getV1UsersId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | 

eval {
    my $result = $api_instance->getV1UsersId(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->getV1UsersId: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer |  (default to null)

try:
    # 
    api_response = api_instance.get_v1_users_id(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->getV1UsersId: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.getV1UsersId(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer
Required

Responses


post summary report


/v1/customers/qr/email

Usage and SDK Samples

curl -X POST \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/qr/email"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.post summary report();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#post summary report");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.post summary report();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->post summary report: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            apiInstance.post summary report();
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#post summary report");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance post summary reportWithCompletionHandler: 
              ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.post summary report(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class post summary reportExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                apiInstance.post summary report();
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.post summary report: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $api_instance->post summary report();
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->post summary report: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    $api_instance->post summary report();
};
if ($@) {
    warn "Exception when calling DefaultApi->post summary report: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_instance.post_summary_report()
except ApiException as e:
    print("Exception when calling DefaultApi->post summary report: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.post summary report(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


postV1CardsPinOnline

Endpoint used to get the online temporary pin


/v1/cards/pin/online

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/pin/online" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        PostV1CardsPinOnlineRequest postV1CardsPinOnlineRequest = ; // PostV1CardsPinOnlineRequest | 

        try {
            post_v1_cards_pin_online_200_response result = apiInstance.postV1CardsPinOnline(postV1CardsPinOnlineRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1CardsPinOnline");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final PostV1CardsPinOnlineRequest postV1CardsPinOnlineRequest = new PostV1CardsPinOnlineRequest(); // PostV1CardsPinOnlineRequest | 

try {
    final result = await api_instance.postV1CardsPinOnline(postV1CardsPinOnlineRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->postV1CardsPinOnline: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        PostV1CardsPinOnlineRequest postV1CardsPinOnlineRequest = ; // PostV1CardsPinOnlineRequest | 

        try {
            post_v1_cards_pin_online_200_response result = apiInstance.postV1CardsPinOnline(postV1CardsPinOnlineRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1CardsPinOnline");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
PostV1CardsPinOnlineRequest *postV1CardsPinOnlineRequest = ; //  (optional)

// 
[apiInstance postV1CardsPinOnlineWith:postV1CardsPinOnlineRequest
              completionHandler: ^(post_v1_cards_pin_online_200_response output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'postV1CardsPinOnlineRequest':  // {PostV1CardsPinOnlineRequest} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postV1CardsPinOnline(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class postV1CardsPinOnlineExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var postV1CardsPinOnlineRequest = new PostV1CardsPinOnlineRequest(); // PostV1CardsPinOnlineRequest |  (optional) 

            try {
                // 
                post_v1_cards_pin_online_200_response result = apiInstance.postV1CardsPinOnline(postV1CardsPinOnlineRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.postV1CardsPinOnline: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$postV1CardsPinOnlineRequest = ; // PostV1CardsPinOnlineRequest | 

try {
    $result = $api_instance->postV1CardsPinOnline($postV1CardsPinOnlineRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->postV1CardsPinOnline: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $postV1CardsPinOnlineRequest = WWW::OPenAPIClient::Object::PostV1CardsPinOnlineRequest->new(); # PostV1CardsPinOnlineRequest | 

eval {
    my $result = $api_instance->postV1CardsPinOnline(postV1CardsPinOnlineRequest => $postV1CardsPinOnlineRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->postV1CardsPinOnline: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
postV1CardsPinOnlineRequest =  # PostV1CardsPinOnlineRequest |  (optional)

try:
    # 
    api_response = api_instance.post_v1_cards_pin_online(postV1CardsPinOnlineRequest=postV1CardsPinOnlineRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->postV1CardsPinOnline: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let postV1CardsPinOnlineRequest = ; // PostV1CardsPinOnlineRequest

    let mut context = DefaultApi::Context::default();
    let result = client.postV1CardsPinOnline(postV1CardsPinOnlineRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
postV1CardsPinOnlineRequest

Responses


postV1SuppliesSearchQr


/v1/supplies/search/qr

Usage and SDK Samples

curl -X POST \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/supplies/search/qr" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        GetTransactionDetailByQrInput getTransactionDetailByQrInput = ; // GetTransactionDetailByQrInput | 

        try {
            array[supplyOutputArray_inner] result = apiInstance.postV1SuppliesSearchQr(getTransactionDetailByQrInput);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1SuppliesSearchQr");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final GetTransactionDetailByQrInput getTransactionDetailByQrInput = new GetTransactionDetailByQrInput(); // GetTransactionDetailByQrInput | 

try {
    final result = await api_instance.postV1SuppliesSearchQr(getTransactionDetailByQrInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->postV1SuppliesSearchQr: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        GetTransactionDetailByQrInput getTransactionDetailByQrInput = ; // GetTransactionDetailByQrInput | 

        try {
            array[supplyOutputArray_inner] result = apiInstance.postV1SuppliesSearchQr(getTransactionDetailByQrInput);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1SuppliesSearchQr");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
GetTransactionDetailByQrInput *getTransactionDetailByQrInput = ; //  (optional)

// 
[apiInstance postV1SuppliesSearchQrWith:getTransactionDetailByQrInput
              completionHandler: ^(array[supplyOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'getTransactionDetailByQrInput':  // {GetTransactionDetailByQrInput} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.postV1SuppliesSearchQr(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class postV1SuppliesSearchQrExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var getTransactionDetailByQrInput = new GetTransactionDetailByQrInput(); // GetTransactionDetailByQrInput |  (optional) 

            try {
                // 
                array[supplyOutputArray_inner] result = apiInstance.postV1SuppliesSearchQr(getTransactionDetailByQrInput);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.postV1SuppliesSearchQr: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$getTransactionDetailByQrInput = ; // GetTransactionDetailByQrInput | 

try {
    $result = $api_instance->postV1SuppliesSearchQr($getTransactionDetailByQrInput);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->postV1SuppliesSearchQr: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $getTransactionDetailByQrInput = WWW::OPenAPIClient::Object::GetTransactionDetailByQrInput->new(); # GetTransactionDetailByQrInput | 

eval {
    my $result = $api_instance->postV1SuppliesSearchQr(getTransactionDetailByQrInput => $getTransactionDetailByQrInput);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->postV1SuppliesSearchQr: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
getTransactionDetailByQrInput =  # GetTransactionDetailByQrInput |  (optional)

try:
    # 
    api_response = api_instance.post_v1_supplies_search_qr(getTransactionDetailByQrInput=getTransactionDetailByQrInput)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->postV1SuppliesSearchQr: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let getTransactionDetailByQrInput = ; // GetTransactionDetailByQrInput

    let mut context = DefaultApi::Context::default();
    let result = client.postV1SuppliesSearchQr(getTransactionDetailByQrInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
getTransactionDetailByQrInput

Responses


postV1TanksMarginManagementConfiguration


/v1/tanks/margin-management/configuration

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/margin-management/configuration" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UpsertMarginManagementConfiguration upsertMarginManagementConfiguration = ; // UpsertMarginManagementConfiguration | 

        try {
            apiInstance.postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1TanksMarginManagementConfiguration");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UpsertMarginManagementConfiguration upsertMarginManagementConfiguration = new UpsertMarginManagementConfiguration(); // UpsertMarginManagementConfiguration | 

try {
    final result = await api_instance.postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->postV1TanksMarginManagementConfiguration: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UpsertMarginManagementConfiguration upsertMarginManagementConfiguration = ; // UpsertMarginManagementConfiguration | 

        try {
            apiInstance.postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#postV1TanksMarginManagementConfiguration");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UpsertMarginManagementConfiguration *upsertMarginManagementConfiguration = ; //  (optional)

// 
[apiInstance postV1TanksMarginManagementConfigurationWith:upsertMarginManagementConfiguration
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'upsertMarginManagementConfiguration':  // {UpsertMarginManagementConfiguration} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.postV1TanksMarginManagementConfiguration(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class postV1TanksMarginManagementConfigurationExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var upsertMarginManagementConfiguration = new UpsertMarginManagementConfiguration(); // UpsertMarginManagementConfiguration |  (optional) 

            try {
                // 
                apiInstance.postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.postV1TanksMarginManagementConfiguration: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$upsertMarginManagementConfiguration = ; // UpsertMarginManagementConfiguration | 

try {
    $api_instance->postV1TanksMarginManagementConfiguration($upsertMarginManagementConfiguration);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->postV1TanksMarginManagementConfiguration: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $upsertMarginManagementConfiguration = WWW::OPenAPIClient::Object::UpsertMarginManagementConfiguration->new(); # UpsertMarginManagementConfiguration | 

eval {
    $api_instance->postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration => $upsertMarginManagementConfiguration);
};
if ($@) {
    warn "Exception when calling DefaultApi->postV1TanksMarginManagementConfiguration: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
upsertMarginManagementConfiguration =  # UpsertMarginManagementConfiguration |  (optional)

try:
    # 
    api_instance.post_v1_tanks_margin_management_configuration(upsertMarginManagementConfiguration=upsertMarginManagementConfiguration)
except ApiException as e:
    print("Exception when calling DefaultApi->postV1TanksMarginManagementConfiguration: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let upsertMarginManagementConfiguration = ; // UpsertMarginManagementConfiguration

    let mut context = DefaultApi::Context::default();
    let result = client.postV1TanksMarginManagementConfiguration(upsertMarginManagementConfiguration, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
upsertMarginManagementConfiguration

Responses


putV1PaymentsMethods

put payment method


/v1/payments/methods

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/payments/methods" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[Object] requestBody = ; // array[Object] | 

        try {
            apiInstance.putV1PaymentsMethods(requestBody);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#putV1PaymentsMethods");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[Object] requestBody = new array[Object](); // array[Object] | 

try {
    final result = await api_instance.putV1PaymentsMethods(requestBody);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->putV1PaymentsMethods: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[Object] requestBody = ; // array[Object] | 

        try {
            apiInstance.putV1PaymentsMethods(requestBody);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#putV1PaymentsMethods");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[Object] *requestBody = ; //  (optional)

// 
[apiInstance putV1PaymentsMethodsWith:requestBody
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'requestBody':  // {array[Object]} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.putV1PaymentsMethods(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class putV1PaymentsMethodsExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var requestBody = new array[Object](); // array[Object] |  (optional) 

            try {
                // 
                apiInstance.putV1PaymentsMethods(requestBody);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.putV1PaymentsMethods: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$requestBody = ; // array[Object] | 

try {
    $api_instance->putV1PaymentsMethods($requestBody);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->putV1PaymentsMethods: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $requestBody = [WWW::OPenAPIClient::Object::array[Object]->new()]; # array[Object] | 

eval {
    $api_instance->putV1PaymentsMethods(requestBody => $requestBody);
};
if ($@) {
    warn "Exception when calling DefaultApi->putV1PaymentsMethods: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
requestBody =  # array[Object] |  (optional)

try:
    # 
    api_instance.put_v1_payments_methods(requestBody=requestBody)
except ApiException as e:
    print("Exception when calling DefaultApi->putV1PaymentsMethods: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let requestBody = ; // array[Object]

    let mut context = DefaultApi::Context::default();
    let result = client.putV1PaymentsMethods(requestBody, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
requestBody

Responses


updateInvoiceDetailId

Update an invoice detail

Update and invoice detail and optionally related payments


/v1/invoices/details/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/details/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | invoice detail id
        UpdateInvoiceDetail updateInvoiceDetail = ; // UpdateInvoiceDetail | 

        try {
            apiInstance.updateInvoiceDetailId(id, updateInvoiceDetail);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateInvoiceDetailId");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | invoice detail id
final UpdateInvoiceDetail updateInvoiceDetail = new UpdateInvoiceDetail(); // UpdateInvoiceDetail | 

try {
    final result = await api_instance.updateInvoiceDetailId(id, updateInvoiceDetail);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->updateInvoiceDetailId: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | invoice detail id
        UpdateInvoiceDetail updateInvoiceDetail = ; // UpdateInvoiceDetail | 

        try {
            apiInstance.updateInvoiceDetailId(id, updateInvoiceDetail);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#updateInvoiceDetailId");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; // invoice detail id (default to null)
UpdateInvoiceDetail *updateInvoiceDetail = ; // 

// Update an invoice detail
[apiInstance updateInvoiceDetailIdWith:id
    updateInvoiceDetail:updateInvoiceDetail
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} invoice detail id
var updateInvoiceDetail = ; // {UpdateInvoiceDetail} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.updateInvoiceDetailId(id, updateInvoiceDetail, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class updateInvoiceDetailIdExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String | invoice detail id (default to null)
            var updateInvoiceDetail = new UpdateInvoiceDetail(); // UpdateInvoiceDetail | 

            try {
                // Update an invoice detail
                apiInstance.updateInvoiceDetailId(id, updateInvoiceDetail);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.updateInvoiceDetailId: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | invoice detail id
$updateInvoiceDetail = ; // UpdateInvoiceDetail | 

try {
    $api_instance->updateInvoiceDetailId($id, $updateInvoiceDetail);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->updateInvoiceDetailId: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | invoice detail id
my $updateInvoiceDetail = WWW::OPenAPIClient::Object::UpdateInvoiceDetail->new(); # UpdateInvoiceDetail | 

eval {
    $api_instance->updateInvoiceDetailId(id => $id, updateInvoiceDetail => $updateInvoiceDetail);
};
if ($@) {
    warn "Exception when calling DefaultApi->updateInvoiceDetailId: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String | invoice detail id (default to null)
updateInvoiceDetail =  # UpdateInvoiceDetail | 

try:
    # Update an invoice detail
    api_instance.update_invoice_detail_id(id, updateInvoiceDetail)
except ApiException as e:
    print("Exception when calling DefaultApi->updateInvoiceDetailId: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let updateInvoiceDetail = ; // UpdateInvoiceDetail

    let mut context = DefaultApi::Context::default();
    let result = client.updateInvoiceDetailId(id, updateInvoiceDetail, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
invoice detail id
Required
Body parameters
Name Description
updateInvoiceDetail *

Responses


utfPost


/v1/utf/post

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/utf/post" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        PostSummaryReport postSummaryReport = ; // PostSummaryReport | 

        try {
            apiInstance.utfPost(postSummaryReport);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#utfPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final PostSummaryReport postSummaryReport = new PostSummaryReport(); // PostSummaryReport | 

try {
    final result = await api_instance.utfPost(postSummaryReport);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->utfPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        PostSummaryReport postSummaryReport = ; // PostSummaryReport | 

        try {
            apiInstance.utfPost(postSummaryReport);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#utfPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
PostSummaryReport *postSummaryReport = ; //  (optional)

// 
[apiInstance utfPostWith:postSummaryReport
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'postSummaryReport':  // {PostSummaryReport} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.utfPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class utfPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var postSummaryReport = new PostSummaryReport(); // PostSummaryReport |  (optional) 

            try {
                // 
                apiInstance.utfPost(postSummaryReport);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.utfPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$postSummaryReport = ; // PostSummaryReport | 

try {
    $api_instance->utfPost($postSummaryReport);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->utfPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $postSummaryReport = WWW::OPenAPIClient::Object::PostSummaryReport->new(); # PostSummaryReport | 

eval {
    $api_instance->utfPost(postSummaryReport => $postSummaryReport);
};
if ($@) {
    warn "Exception when calling DefaultApi->utfPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
postSummaryReport =  # PostSummaryReport |  (optional)

try:
    # 
    api_instance.utf_post(postSummaryReport=postSummaryReport)
except ApiException as e:
    print("Exception when calling DefaultApi->utfPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let postSummaryReport = ; // PostSummaryReport

    let mut context = DefaultApi::Context::default();
    let result = client.utfPost(postSummaryReport, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
postSummaryReport

Responses


v1AppliedPricesIdDelete


/v1/appliedPrices/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/appliedPrices/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1AppliedPricesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1AppliedPricesIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AppliedPricesIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1AppliedPricesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1AppliedPricesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1AppliedPricesIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AppliedPricesIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1AppliedPricesIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AppliedPricesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1AppliedPricesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AppliedPricesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1AppliedPricesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AppliedPricesIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_applied_prices_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AppliedPricesIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1AppliedPricesIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1AppliedPricesIdGet


/v1/appliedPrices/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/appliedPrices/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            appliedPriceOutput result = apiInstance.v1AppliedPricesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1AppliedPricesIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AppliedPricesIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            appliedPriceOutput result = apiInstance.v1AppliedPricesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1AppliedPricesIdGetWith:id
              completionHandler: ^(appliedPriceOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1AppliedPricesIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AppliedPricesIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                appliedPriceOutput result = apiInstance.v1AppliedPricesIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AppliedPricesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1AppliedPricesIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AppliedPricesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1AppliedPricesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AppliedPricesIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_applied_prices_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AppliedPricesIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1AppliedPricesIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1AppliedPricesIdPut


/v1/appliedPrices/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/appliedPrices/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        AppliedPriceInput appliedPriceInput = ; // AppliedPriceInput | 

        try {
            apiInstance.v1AppliedPricesIdPut(id, appliedPriceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final AppliedPriceInput appliedPriceInput = new AppliedPriceInput(); // AppliedPriceInput | 

try {
    final result = await api_instance.v1AppliedPricesIdPut(id, appliedPriceInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AppliedPricesIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        AppliedPriceInput appliedPriceInput = ; // AppliedPriceInput | 

        try {
            apiInstance.v1AppliedPricesIdPut(id, appliedPriceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
AppliedPriceInput *appliedPriceInput = ; // 

[apiInstance v1AppliedPricesIdPutWith:id
    appliedPriceInput:appliedPriceInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var appliedPriceInput = ; // {AppliedPriceInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1AppliedPricesIdPut(id, appliedPriceInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AppliedPricesIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var appliedPriceInput = new AppliedPriceInput(); // AppliedPriceInput | 

            try {
                apiInstance.v1AppliedPricesIdPut(id, appliedPriceInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AppliedPricesIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$appliedPriceInput = ; // AppliedPriceInput | 

try {
    $api_instance->v1AppliedPricesIdPut($id, $appliedPriceInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AppliedPricesIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $appliedPriceInput = WWW::OPenAPIClient::Object::AppliedPriceInput->new(); # AppliedPriceInput | 

eval {
    $api_instance->v1AppliedPricesIdPut(id => $id, appliedPriceInput => $appliedPriceInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AppliedPricesIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
appliedPriceInput =  # AppliedPriceInput | 

try:
    api_instance.v1_applied_prices_id_put(id, appliedPriceInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AppliedPricesIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let appliedPriceInput = ; // AppliedPriceInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1AppliedPricesIdPut(id, appliedPriceInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
appliedPriceInput *

Responses


v1AppliedPricesPost


/v1/appliedPrices

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/appliedPrices" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        AppliedPriceInput appliedPriceInput = ; // AppliedPriceInput | 

        try {
            apiInstance.v1AppliedPricesPost(appliedPriceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final AppliedPriceInput appliedPriceInput = new AppliedPriceInput(); // AppliedPriceInput | 

try {
    final result = await api_instance.v1AppliedPricesPost(appliedPriceInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1AppliedPricesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        AppliedPriceInput appliedPriceInput = ; // AppliedPriceInput | 

        try {
            apiInstance.v1AppliedPricesPost(appliedPriceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1AppliedPricesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
AppliedPriceInput *appliedPriceInput = ; // 

[apiInstance v1AppliedPricesPostWith:appliedPriceInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var appliedPriceInput = ; // {AppliedPriceInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1AppliedPricesPost(appliedPriceInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1AppliedPricesPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var appliedPriceInput = new AppliedPriceInput(); // AppliedPriceInput | 

            try {
                apiInstance.v1AppliedPricesPost(appliedPriceInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1AppliedPricesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$appliedPriceInput = ; // AppliedPriceInput | 

try {
    $api_instance->v1AppliedPricesPost($appliedPriceInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1AppliedPricesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $appliedPriceInput = WWW::OPenAPIClient::Object::AppliedPriceInput->new(); # AppliedPriceInput | 

eval {
    $api_instance->v1AppliedPricesPost(appliedPriceInput => $appliedPriceInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1AppliedPricesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
appliedPriceInput =  # AppliedPriceInput | 

try:
    api_instance.v1_applied_prices_post(appliedPriceInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1AppliedPricesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let appliedPriceInput = ; // AppliedPriceInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1AppliedPricesPost(appliedPriceInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
appliedPriceInput *

Responses


v1ArticlesIdDelete


/v1/articles/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/articles/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1ArticlesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1ArticlesIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ArticlesIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1ArticlesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1ArticlesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ArticlesIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ArticlesIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1ArticlesIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ArticlesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1ArticlesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ArticlesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1ArticlesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ArticlesIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_articles_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ArticlesIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ArticlesIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1ArticlesIdGet


/v1/articles/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/articles/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            articleOutput result = apiInstance.v1ArticlesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1ArticlesIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ArticlesIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            articleOutput result = apiInstance.v1ArticlesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1ArticlesIdGetWith:id
              completionHandler: ^(articleOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ArticlesIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ArticlesIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                articleOutput result = apiInstance.v1ArticlesIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ArticlesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1ArticlesIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ArticlesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1ArticlesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ArticlesIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_articles_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ArticlesIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ArticlesIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1ArticlesIdPut


/v1/articles/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/articles/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ArticleInput articleInput = ; // ArticleInput | 

        try {
            apiInstance.v1ArticlesIdPut(id, articleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final ArticleInput articleInput = new ArticleInput(); // ArticleInput | 

try {
    final result = await api_instance.v1ArticlesIdPut(id, articleInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ArticlesIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ArticleInput articleInput = ; // ArticleInput | 

        try {
            apiInstance.v1ArticlesIdPut(id, articleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
ArticleInput *articleInput = ; // 

[apiInstance v1ArticlesIdPutWith:id
    articleInput:articleInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var articleInput = ; // {ArticleInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ArticlesIdPut(id, articleInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ArticlesIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var articleInput = new ArticleInput(); // ArticleInput | 

            try {
                apiInstance.v1ArticlesIdPut(id, articleInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ArticlesIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$articleInput = ; // ArticleInput | 

try {
    $api_instance->v1ArticlesIdPut($id, $articleInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ArticlesIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $articleInput = WWW::OPenAPIClient::Object::ArticleInput->new(); # ArticleInput | 

eval {
    $api_instance->v1ArticlesIdPut(id => $id, articleInput => $articleInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ArticlesIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
articleInput =  # ArticleInput | 

try:
    api_instance.v1_articles_id_put(id, articleInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ArticlesIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let articleInput = ; // ArticleInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1ArticlesIdPut(id, articleInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
articleInput *

Responses


v1ArticlesPost


/v1/articles

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/articles" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ArticleInput articleInput = ; // ArticleInput | 

        try {
            apiInstance.v1ArticlesPost(articleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ArticleInput articleInput = new ArticleInput(); // ArticleInput | 

try {
    final result = await api_instance.v1ArticlesPost(articleInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ArticlesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ArticleInput articleInput = ; // ArticleInput | 

        try {
            apiInstance.v1ArticlesPost(articleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ArticleInput *articleInput = ; // 

[apiInstance v1ArticlesPostWith:articleInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var articleInput = ; // {ArticleInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ArticlesPost(articleInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ArticlesPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var articleInput = new ArticleInput(); // ArticleInput | 

            try {
                apiInstance.v1ArticlesPost(articleInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ArticlesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$articleInput = ; // ArticleInput | 

try {
    $api_instance->v1ArticlesPost($articleInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ArticlesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $articleInput = WWW::OPenAPIClient::Object::ArticleInput->new(); # ArticleInput | 

eval {
    $api_instance->v1ArticlesPost(articleInput => $articleInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ArticlesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
articleInput =  # ArticleInput | 

try:
    api_instance.v1_articles_post(articleInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ArticlesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let articleInput = ; // ArticleInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1ArticlesPost(articleInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
articleInput *

Responses


v1ArticlesSearchGet


/v1/articles/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/articles/search?category_id=categoryId_example&customer_id=customerId_example&fuel_station_id=fuelStationId_example&supplier_id=supplierId_example&card_id=cardId_example&vehicle_id=vehicleId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String categoryId = categoryId_example; // String | 
        String customerId = customerId_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String supplierId = supplierId_example; // String | 
        String cardId = cardId_example; // String | 
        String vehicleId = vehicleId_example; // String | 

        try {
            array[articleOutputArray_inner] result = apiInstance.v1ArticlesSearchGet(categoryId, customerId, fuelStationId, supplierId, cardId, vehicleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String categoryId = new String(); // String | 
final String customerId = new String(); // String | 
final String fuelStationId = new String(); // String | 
final String supplierId = new String(); // String | 
final String cardId = new String(); // String | 
final String vehicleId = new String(); // String | 

try {
    final result = await api_instance.v1ArticlesSearchGet(categoryId, customerId, fuelStationId, supplierId, cardId, vehicleId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ArticlesSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String categoryId = categoryId_example; // String | 
        String customerId = customerId_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String supplierId = supplierId_example; // String | 
        String cardId = cardId_example; // String | 
        String vehicleId = vehicleId_example; // String | 

        try {
            array[articleOutputArray_inner] result = apiInstance.v1ArticlesSearchGet(categoryId, customerId, fuelStationId, supplierId, cardId, vehicleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ArticlesSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *categoryId = categoryId_example; //  (optional) (default to null)
String *customerId = customerId_example; //  (optional) (default to null)
String *fuelStationId = fuelStationId_example; //  (optional) (default to null)
String *supplierId = supplierId_example; //  (optional) (default to null)
String *cardId = cardId_example; //  (optional) (default to null)
String *vehicleId = vehicleId_example; //  (optional) (default to null)

[apiInstance v1ArticlesSearchGetWith:categoryId
    customerId:customerId
    fuelStationId:fuelStationId
    supplierId:supplierId
    cardId:cardId
    vehicleId:vehicleId
              completionHandler: ^(array[articleOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'categoryId': categoryId_example, // {String} 
  'customerId': customerId_example, // {String} 
  'fuelStationId': fuelStationId_example, // {String} 
  'supplierId': supplierId_example, // {String} 
  'cardId': cardId_example, // {String} 
  'vehicleId': vehicleId_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ArticlesSearchGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ArticlesSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var categoryId = categoryId_example;  // String |  (optional)  (default to null)
            var customerId = customerId_example;  // String |  (optional)  (default to null)
            var fuelStationId = fuelStationId_example;  // String |  (optional)  (default to null)
            var supplierId = supplierId_example;  // String |  (optional)  (default to null)
            var cardId = cardId_example;  // String |  (optional)  (default to null)
            var vehicleId = vehicleId_example;  // String |  (optional)  (default to null)

            try {
                array[articleOutputArray_inner] result = apiInstance.v1ArticlesSearchGet(categoryId, customerId, fuelStationId, supplierId, cardId, vehicleId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ArticlesSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$categoryId = categoryId_example; // String | 
$customerId = customerId_example; // String | 
$fuelStationId = fuelStationId_example; // String | 
$supplierId = supplierId_example; // String | 
$cardId = cardId_example; // String | 
$vehicleId = vehicleId_example; // String | 

try {
    $result = $api_instance->v1ArticlesSearchGet($categoryId, $customerId, $fuelStationId, $supplierId, $cardId, $vehicleId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ArticlesSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $categoryId = categoryId_example; # String | 
my $customerId = customerId_example; # String | 
my $fuelStationId = fuelStationId_example; # String | 
my $supplierId = supplierId_example; # String | 
my $cardId = cardId_example; # String | 
my $vehicleId = vehicleId_example; # String | 

eval {
    my $result = $api_instance->v1ArticlesSearchGet(categoryId => $categoryId, customerId => $customerId, fuelStationId => $fuelStationId, supplierId => $supplierId, cardId => $cardId, vehicleId => $vehicleId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ArticlesSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
categoryId = categoryId_example # String |  (optional) (default to null)
customerId = customerId_example # String |  (optional) (default to null)
fuelStationId = fuelStationId_example # String |  (optional) (default to null)
supplierId = supplierId_example # String |  (optional) (default to null)
cardId = cardId_example # String |  (optional) (default to null)
vehicleId = vehicleId_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_articles_search_get(categoryId=categoryId, customerId=customerId, fuelStationId=fuelStationId, supplierId=supplierId, cardId=cardId, vehicleId=vehicleId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ArticlesSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let categoryId = categoryId_example; // String
    let customerId = customerId_example; // String
    let fuelStationId = fuelStationId_example; // String
    let supplierId = supplierId_example; // String
    let cardId = cardId_example; // String
    let vehicleId = vehicleId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ArticlesSearchGet(categoryId, customerId, fuelStationId, supplierId, cardId, vehicleId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
category_id
String
customer_id
String
fuel_station_id
String
supplier_id
String
card_id
String
vehicle_id
String

Responses


v1CardsIdDelete


/v1/cards/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CardsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CardsIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CardsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CardsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1CardsIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1CardsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1CardsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_cards_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CardsIdGet


/v1/cards/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            cardOutput result = apiInstance.v1CardsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CardsIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            cardOutput result = apiInstance.v1CardsIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CardsIdGetWith:id
              completionHandler: ^(cardOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CardsIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                cardOutput result = apiInstance.v1CardsIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CardsIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CardsIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_cards_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CardsIdPut


/v1/cards/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CardInput cardInput = ; // CardInput | 

        try {
            apiInstance.v1CardsIdPut(id, cardInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final CardInput cardInput = new CardInput(); // CardInput | 

try {
    final result = await api_instance.v1CardsIdPut(id, cardInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CardInput cardInput = ; // CardInput | 

        try {
            apiInstance.v1CardsIdPut(id, cardInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
CardInput *cardInput = ; // 

[apiInstance v1CardsIdPutWith:id
    cardInput:cardInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var cardInput = ; // {CardInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsIdPut(id, cardInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var cardInput = new CardInput(); // CardInput | 

            try {
                apiInstance.v1CardsIdPut(id, cardInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$cardInput = ; // CardInput | 

try {
    $api_instance->v1CardsIdPut($id, $cardInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $cardInput = WWW::OPenAPIClient::Object::CardInput->new(); # CardInput | 

eval {
    $api_instance->v1CardsIdPut(id => $id, cardInput => $cardInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
cardInput =  # CardInput | 

try:
    api_instance.v1_cards_id_put(id, cardInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let cardInput = ; // CardInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsIdPut(id, cardInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
cardInput *

Responses


v1CardsIdUnlockHistoryGet


/v1/cards/{id}/unlock/history

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/{id}/unlock/history"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[cardUnlockHistoryOutput_inner] result = apiInstance.v1CardsIdUnlockHistoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdUnlockHistoryGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CardsIdUnlockHistoryGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsIdUnlockHistoryGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[cardUnlockHistoryOutput_inner] result = apiInstance.v1CardsIdUnlockHistoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsIdUnlockHistoryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CardsIdUnlockHistoryGetWith:id
              completionHandler: ^(array[cardUnlockHistoryOutput_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CardsIdUnlockHistoryGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsIdUnlockHistoryGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[cardUnlockHistoryOutput_inner] result = apiInstance.v1CardsIdUnlockHistoryGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsIdUnlockHistoryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CardsIdUnlockHistoryGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsIdUnlockHistoryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CardsIdUnlockHistoryGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsIdUnlockHistoryGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_cards_id_unlock_history_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsIdUnlockHistoryGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsIdUnlockHistoryGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CardsLockPost


/v1/cards/lock

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/lock" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CardLockInput cardLockInput = ; // CardLockInput | 

        try {
            apiInstance.v1CardsLockPost(cardLockInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsLockPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CardLockInput cardLockInput = new CardLockInput(); // CardLockInput | 

try {
    final result = await api_instance.v1CardsLockPost(cardLockInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsLockPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CardLockInput cardLockInput = ; // CardLockInput | 

        try {
            apiInstance.v1CardsLockPost(cardLockInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsLockPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CardLockInput *cardLockInput = ; // 

[apiInstance v1CardsLockPostWith:cardLockInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var cardLockInput = ; // {CardLockInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsLockPost(cardLockInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsLockPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cardLockInput = new CardLockInput(); // CardLockInput | 

            try {
                apiInstance.v1CardsLockPost(cardLockInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsLockPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cardLockInput = ; // CardLockInput | 

try {
    $api_instance->v1CardsLockPost($cardLockInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsLockPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cardLockInput = WWW::OPenAPIClient::Object::CardLockInput->new(); # CardLockInput | 

eval {
    $api_instance->v1CardsLockPost(cardLockInput => $cardLockInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsLockPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cardLockInput =  # CardLockInput | 

try:
    api_instance.v1_cards_lock_post(cardLockInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsLockPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cardLockInput = ; // CardLockInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsLockPost(cardLockInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
cardLockInput *

Responses


v1CardsPinSeedsPost

Endpoint used to retrieve the list of the card linked to the logged user with the offline dynamic pin enabled.


/v1/cards/pin/seeds

Usage and SDK Samples

curl -X POST \
 \
 -H "Accept: application/json" \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/pin/seeds" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        V1CardsPinSeedsPostRequest v1CardsPinSeedsPostRequest = ; // V1CardsPinSeedsPostRequest | 

        try {
            _v1_cards_pin_seeds_post_200_response result = apiInstance.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsPinSeedsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final V1CardsPinSeedsPostRequest v1CardsPinSeedsPostRequest = new V1CardsPinSeedsPostRequest(); // V1CardsPinSeedsPostRequest | 

try {
    final result = await api_instance.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsPinSeedsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        V1CardsPinSeedsPostRequest v1CardsPinSeedsPostRequest = ; // V1CardsPinSeedsPostRequest | 

        try {
            _v1_cards_pin_seeds_post_200_response result = apiInstance.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsPinSeedsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V1CardsPinSeedsPostRequest *v1CardsPinSeedsPostRequest = ; // 

[apiInstance v1CardsPinSeedsPostWith:v1CardsPinSeedsPostRequest
              completionHandler: ^(_v1_cards_pin_seeds_post_200_response output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var v1CardsPinSeedsPostRequest = ; // {V1CardsPinSeedsPostRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsPinSeedsPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var v1CardsPinSeedsPostRequest = new V1CardsPinSeedsPostRequest(); // V1CardsPinSeedsPostRequest | 

            try {
                _v1_cards_pin_seeds_post_200_response result = apiInstance.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsPinSeedsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$v1CardsPinSeedsPostRequest = ; // V1CardsPinSeedsPostRequest | 

try {
    $result = $api_instance->v1CardsPinSeedsPost($v1CardsPinSeedsPostRequest);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsPinSeedsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $v1CardsPinSeedsPostRequest = WWW::OPenAPIClient::Object::V1CardsPinSeedsPostRequest->new(); # V1CardsPinSeedsPostRequest | 

eval {
    my $result = $api_instance->v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest => $v1CardsPinSeedsPostRequest);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsPinSeedsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v1CardsPinSeedsPostRequest =  # V1CardsPinSeedsPostRequest | 

try:
    api_response = api_instance.v1_cards_pin_seeds_post(v1CardsPinSeedsPostRequest)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsPinSeedsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let v1CardsPinSeedsPostRequest = ; // V1CardsPinSeedsPostRequest

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsPinSeedsPost(v1CardsPinSeedsPostRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
v1CardsPinSeedsPostRequest *

Responses


v1CardsPost


/v1/cards

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards" \
 -d '{
  "code" : 0,
  "can_outdoor" : true,
  "type_id" : 6,
  "cost_center_id" : "cost_center_id",
  "has_km_request" : true,
  "extra2" : "extra2",
  "max_period_credit" : 1.4658129805029452,
  "has_km_check" : true,
  "extra1" : "extra1",
  "expire_datetime" : "2000-01-23T04:56:07.000+00:00",
  "delivery_datetime" : "2000-01-23T04:56:07.000+00:00",
  "last_km_value" : 5,
  "is_enabled" : true,
  "daily_max_limit" : 5.637376656633329,
  "can_indoor" : true,
  "enabled_articles" : [ 2, 2 ],
  "has_excise_duty" : true,
  "customer_id" : 7,
  "pan" : "pan",
  "supplier_id" : 9,
  "supplier_code" : "supplier_code",
  "customer_code" : "customer_code",
  "vehicle_id" : 3,
  "email" : "email"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[cardInputArray_inner] cardInputArrayInner = ; // array[cardInputArray_inner] | 

        try {
            apiInstance.v1CardsPost(cardInputArrayInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[cardInputArray_inner] cardInputArrayInner = new array[cardInputArray_inner](); // array[cardInputArray_inner] | 

try {
    final result = await api_instance.v1CardsPost(cardInputArrayInner);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[cardInputArray_inner] cardInputArrayInner = ; // array[cardInputArray_inner] | 

        try {
            apiInstance.v1CardsPost(cardInputArrayInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[cardInputArray_inner] *cardInputArrayInner = ; // 

[apiInstance v1CardsPostWith:cardInputArrayInner
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var cardInputArrayInner = ; // {array[cardInputArray_inner]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsPost(cardInputArrayInner, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cardInputArrayInner = new array[cardInputArray_inner](); // array[cardInputArray_inner] | 

            try {
                apiInstance.v1CardsPost(cardInputArrayInner);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cardInputArrayInner = ; // array[cardInputArray_inner] | 

try {
    $api_instance->v1CardsPost($cardInputArrayInner);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cardInputArrayInner = [WWW::OPenAPIClient::Object::array[cardInputArray_inner]->new()]; # array[cardInputArray_inner] | 

eval {
    $api_instance->v1CardsPost(cardInputArrayInner => $cardInputArrayInner);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cardInputArrayInner =  # array[cardInputArray_inner] | 

try:
    api_instance.v1_cards_post(cardInputArrayInner)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cardInputArrayInner = ; // array[cardInputArray_inner]

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsPost(cardInputArrayInner, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
cardInputArrayInner *

Responses


v1CardsRangePost


/v1/cards/range

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/range" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CardRangeInput cardRangeInput = ; // CardRangeInput | 

        try {
            apiInstance.v1CardsRangePost(cardRangeInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsRangePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CardRangeInput cardRangeInput = new CardRangeInput(); // CardRangeInput | 

try {
    final result = await api_instance.v1CardsRangePost(cardRangeInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsRangePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CardRangeInput cardRangeInput = ; // CardRangeInput | 

        try {
            apiInstance.v1CardsRangePost(cardRangeInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsRangePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CardRangeInput *cardRangeInput = ; // 

[apiInstance v1CardsRangePostWith:cardRangeInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var cardRangeInput = ; // {CardRangeInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsRangePost(cardRangeInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsRangePostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cardRangeInput = new CardRangeInput(); // CardRangeInput | 

            try {
                apiInstance.v1CardsRangePost(cardRangeInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsRangePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cardRangeInput = ; // CardRangeInput | 

try {
    $api_instance->v1CardsRangePost($cardRangeInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsRangePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cardRangeInput = WWW::OPenAPIClient::Object::CardRangeInput->new(); # CardRangeInput | 

eval {
    $api_instance->v1CardsRangePost(cardRangeInput => $cardRangeInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsRangePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cardRangeInput =  # CardRangeInput | 

try:
    api_instance.v1_cards_range_post(cardRangeInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsRangePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cardRangeInput = ; // CardRangeInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsRangePost(cardRangeInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
cardRangeInput *

Responses


v1CardsUnlockPost


/v1/cards/unlock

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/cards/unlock" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CardUnLockInput cardUnLockInput = ; // CardUnLockInput | 

        try {
            apiInstance.v1CardsUnlockPost(cardUnLockInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsUnlockPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CardUnLockInput cardUnLockInput = new CardUnLockInput(); // CardUnLockInput | 

try {
    final result = await api_instance.v1CardsUnlockPost(cardUnLockInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CardsUnlockPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CardUnLockInput cardUnLockInput = ; // CardUnLockInput | 

        try {
            apiInstance.v1CardsUnlockPost(cardUnLockInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CardsUnlockPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CardUnLockInput *cardUnLockInput = ; // 

[apiInstance v1CardsUnlockPostWith:cardUnLockInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var cardUnLockInput = ; // {CardUnLockInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CardsUnlockPost(cardUnLockInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CardsUnlockPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var cardUnLockInput = new CardUnLockInput(); // CardUnLockInput | 

            try {
                apiInstance.v1CardsUnlockPost(cardUnLockInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CardsUnlockPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$cardUnLockInput = ; // CardUnLockInput | 

try {
    $api_instance->v1CardsUnlockPost($cardUnLockInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CardsUnlockPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $cardUnLockInput = WWW::OPenAPIClient::Object::CardUnLockInput->new(); # CardUnLockInput | 

eval {
    $api_instance->v1CardsUnlockPost(cardUnLockInput => $cardUnLockInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CardsUnlockPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
cardUnLockInput =  # CardUnLockInput | 

try:
    api_instance.v1_cards_unlock_post(cardUnLockInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CardsUnlockPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let cardUnLockInput = ; // CardUnLockInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CardsUnlockPost(cardUnLockInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
cardUnLockInput *

Responses


v1CategoriesIdArticlesGet


/v1/categories/{id}/articles

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/categories/{id}/articles"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[articleOutputArray_inner] result = apiInstance.v1CategoriesIdArticlesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdArticlesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CategoriesIdArticlesGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CategoriesIdArticlesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[articleOutputArray_inner] result = apiInstance.v1CategoriesIdArticlesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdArticlesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CategoriesIdArticlesGetWith:id
              completionHandler: ^(array[articleOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CategoriesIdArticlesGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CategoriesIdArticlesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[articleOutputArray_inner] result = apiInstance.v1CategoriesIdArticlesGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CategoriesIdArticlesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CategoriesIdArticlesGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CategoriesIdArticlesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CategoriesIdArticlesGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CategoriesIdArticlesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_categories_id_articles_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CategoriesIdArticlesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CategoriesIdArticlesGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CategoriesIdDelete


/v1/categories/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/categories/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CategoriesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CategoriesIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CategoriesIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CategoriesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CategoriesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CategoriesIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CategoriesIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1CategoriesIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CategoriesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1CategoriesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CategoriesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1CategoriesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CategoriesIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_categories_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CategoriesIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CategoriesIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CategoriesIdGet


/v1/categories/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/categories/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            categoryOutput result = apiInstance.v1CategoriesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CategoriesIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CategoriesIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            categoryOutput result = apiInstance.v1CategoriesIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CategoriesIdGetWith:id
              completionHandler: ^(categoryOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CategoriesIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CategoriesIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                categoryOutput result = apiInstance.v1CategoriesIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CategoriesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CategoriesIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CategoriesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CategoriesIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CategoriesIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_categories_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CategoriesIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CategoriesIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CategoriesIdPut


/v1/categories/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/categories/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CategoryInput categoryInput = ; // CategoryInput | 

        try {
            apiInstance.v1CategoriesIdPut(id, categoryInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final CategoryInput categoryInput = new CategoryInput(); // CategoryInput | 

try {
    final result = await api_instance.v1CategoriesIdPut(id, categoryInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CategoriesIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CategoryInput categoryInput = ; // CategoryInput | 

        try {
            apiInstance.v1CategoriesIdPut(id, categoryInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
CategoryInput *categoryInput = ; // 

[apiInstance v1CategoriesIdPutWith:id
    categoryInput:categoryInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var categoryInput = ; // {CategoryInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CategoriesIdPut(id, categoryInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CategoriesIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var categoryInput = new CategoryInput(); // CategoryInput | 

            try {
                apiInstance.v1CategoriesIdPut(id, categoryInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CategoriesIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$categoryInput = ; // CategoryInput | 

try {
    $api_instance->v1CategoriesIdPut($id, $categoryInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CategoriesIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $categoryInput = WWW::OPenAPIClient::Object::CategoryInput->new(); # CategoryInput | 

eval {
    $api_instance->v1CategoriesIdPut(id => $id, categoryInput => $categoryInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CategoriesIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
categoryInput =  # CategoryInput | 

try:
    api_instance.v1_categories_id_put(id, categoryInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CategoriesIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let categoryInput = ; // CategoryInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CategoriesIdPut(id, categoryInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
categoryInput *

Responses


v1CategoriesPost


/v1/categories

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/categories" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CategoryInput categoryInput = ; // CategoryInput | 

        try {
            apiInstance.v1CategoriesPost(categoryInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CategoryInput categoryInput = new CategoryInput(); // CategoryInput | 

try {
    final result = await api_instance.v1CategoriesPost(categoryInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CategoriesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CategoryInput categoryInput = ; // CategoryInput | 

        try {
            apiInstance.v1CategoriesPost(categoryInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CategoriesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CategoryInput *categoryInput = ; // 

[apiInstance v1CategoriesPostWith:categoryInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var categoryInput = ; // {CategoryInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CategoriesPost(categoryInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CategoriesPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var categoryInput = new CategoryInput(); // CategoryInput | 

            try {
                apiInstance.v1CategoriesPost(categoryInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CategoriesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$categoryInput = ; // CategoryInput | 

try {
    $api_instance->v1CategoriesPost($categoryInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CategoriesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $categoryInput = WWW::OPenAPIClient::Object::CategoryInput->new(); # CategoryInput | 

eval {
    $api_instance->v1CategoriesPost(categoryInput => $categoryInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CategoriesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
categoryInput =  # CategoryInput | 

try:
    api_instance.v1_categories_post(categoryInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CategoriesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let categoryInput = ; // CategoryInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CategoriesPost(categoryInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
categoryInput *

Responses


v1CircuitsGet


/v1/circuits

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/circuits?supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 

        try {
            array[circuitOutputArray_inner] result = apiInstance.v1CircuitsGet(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CircuitsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1CircuitsGet(supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CircuitsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 

        try {
            array[circuitOutputArray_inner] result = apiInstance.v1CircuitsGet(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CircuitsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *supplierId = supplierId_example; //  (default to null)

[apiInstance v1CircuitsGetWith:supplierId
              completionHandler: ^(array[circuitOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CircuitsGet(supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CircuitsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                array[circuitOutputArray_inner] result = apiInstance.v1CircuitsGet(supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CircuitsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1CircuitsGet($supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CircuitsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1CircuitsGet(supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CircuitsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierId = supplierId_example # String |  (default to null)

try:
    api_response = api_instance.v1_circuits_get(supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CircuitsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CircuitsGet(supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
supplier_id*
String
Required

Responses


v1CircuitsPatch


/v1/circuits

Usage and SDK Samples

curl -X PATCH \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/circuits" \
 -d '{
  "protocol" : "protocol",
  "code" : "code",
  "circuit_id" : 0,
  "id" : 6,
  "supplier_id" : 1,
  "payment_term_id" : 5
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[circuitOutputArray_inner] circuitOutputArrayInner = ; // array[circuitOutputArray_inner] | 

        try {
            apiInstance.v1CircuitsPatch(circuitOutputArrayInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CircuitsPatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[circuitOutputArray_inner] circuitOutputArrayInner = new array[circuitOutputArray_inner](); // array[circuitOutputArray_inner] | 

try {
    final result = await api_instance.v1CircuitsPatch(circuitOutputArrayInner);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CircuitsPatch: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[circuitOutputArray_inner] circuitOutputArrayInner = ; // array[circuitOutputArray_inner] | 

        try {
            apiInstance.v1CircuitsPatch(circuitOutputArrayInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CircuitsPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[circuitOutputArray_inner] *circuitOutputArrayInner = ; // 

[apiInstance v1CircuitsPatchWith:circuitOutputArrayInner
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var circuitOutputArrayInner = ; // {array[circuitOutputArray_inner]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CircuitsPatch(circuitOutputArrayInner, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CircuitsPatchExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var circuitOutputArrayInner = new array[circuitOutputArray_inner](); // array[circuitOutputArray_inner] | 

            try {
                apiInstance.v1CircuitsPatch(circuitOutputArrayInner);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CircuitsPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$circuitOutputArrayInner = ; // array[circuitOutputArray_inner] | 

try {
    $api_instance->v1CircuitsPatch($circuitOutputArrayInner);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CircuitsPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $circuitOutputArrayInner = [WWW::OPenAPIClient::Object::array[circuitOutputArray_inner]->new()]; # array[circuitOutputArray_inner] | 

eval {
    $api_instance->v1CircuitsPatch(circuitOutputArrayInner => $circuitOutputArrayInner);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CircuitsPatch: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
circuitOutputArrayInner =  # array[circuitOutputArray_inner] | 

try:
    api_instance.v1_circuits_patch(circuitOutputArrayInner)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CircuitsPatch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let circuitOutputArrayInner = ; // array[circuitOutputArray_inner]

    let mut context = DefaultApi::Context::default();
    let result = client.v1CircuitsPatch(circuitOutputArrayInner, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
circuitOutputArrayInner *

Responses


v1CustomersIdDelete


/v1/customers/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CustomersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CustomersIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomersIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1CustomersIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1CustomersIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1CustomersIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_customers_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIdGet


/v1/customers/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIdGetWith:id
              completionHandler: ^(customerOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomersIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                customerOutput result = apiInstance.v1CustomersIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CustomersIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CustomersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_customers_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIdIntentsGet


/v1/customers/{id}/intents

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}/intents"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdIntentsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdIntentsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIdIntentsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdIntentsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdIntentsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdIntentsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIdIntentsGetWith:id
              completionHandler: ^(customerOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomersIdIntentsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdIntentsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                customerOutput result = apiInstance.v1CustomersIdIntentsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdIntentsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CustomersIdIntentsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdIntentsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CustomersIdIntentsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdIntentsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_customers_id_intents_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdIntentsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdIntentsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIdPut


/v1/customers/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CustomerInput customerInput = ; // CustomerInput | 

        try {
            apiInstance.v1CustomersIdPut(id, customerInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final CustomerInput customerInput = new CustomerInput(); // CustomerInput | 

try {
    final result = await api_instance.v1CustomersIdPut(id, customerInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        CustomerInput customerInput = ; // CustomerInput | 

        try {
            apiInstance.v1CustomersIdPut(id, customerInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
CustomerInput *customerInput = ; // 

[apiInstance v1CustomersIdPutWith:id
    customerInput:customerInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var customerInput = ; // {CustomerInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomersIdPut(id, customerInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var customerInput = new CustomerInput(); // CustomerInput | 

            try {
                apiInstance.v1CustomersIdPut(id, customerInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$customerInput = ; // CustomerInput | 

try {
    $api_instance->v1CustomersIdPut($id, $customerInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $customerInput = WWW::OPenAPIClient::Object::CustomerInput->new(); # CustomerInput | 

eval {
    $api_instance->v1CustomersIdPut(id => $id, customerInput => $customerInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
customerInput =  # CustomerInput | 

try:
    api_instance.v1_customers_id_put(id, customerInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let customerInput = ; // CustomerInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdPut(id, customerInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
customerInput *

Responses


v1CustomersIdQrGet


/v1/customers/{id}/qr

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}/qr"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdQrGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdQrGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIdQrGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdQrGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            customerOutput result = apiInstance.v1CustomersIdQrGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdQrGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIdQrGetWith:id
              completionHandler: ^(customerOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomersIdQrGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdQrGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                customerOutput result = apiInstance.v1CustomersIdQrGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdQrGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CustomersIdQrGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdQrGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CustomersIdQrGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdQrGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_customers_id_qr_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdQrGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdQrGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIdVehiclesGet


/v1/customers/{id}/vehicles

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/{id}/vehicles"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[vehicleOutputArray_inner] result = apiInstance.v1CustomersIdVehiclesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdVehiclesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIdVehiclesGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIdVehiclesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[vehicleOutputArray_inner] result = apiInstance.v1CustomersIdVehiclesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIdVehiclesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIdVehiclesGetWith:id
              completionHandler: ^(array[vehicleOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomersIdVehiclesGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIdVehiclesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[vehicleOutputArray_inner] result = apiInstance.v1CustomersIdVehiclesGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIdVehiclesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1CustomersIdVehiclesGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIdVehiclesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1CustomersIdVehiclesGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIdVehiclesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_customers_id_vehicles_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIdVehiclesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIdVehiclesGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIntentsIdDelete


/v1/customers/intents/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/intents/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CustomersIntentsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIntentsIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1CustomersIntentsIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIntentsIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1CustomersIntentsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIntentsIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1CustomersIntentsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomersIntentsIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIntentsIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1CustomersIntentsIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIntentsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1CustomersIntentsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIntentsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1CustomersIntentsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIntentsIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_customers_intents_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIntentsIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIntentsIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1CustomersIntentsPut


/v1/customers/intents

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/intents" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CustomerOutput customerOutput = ; // CustomerOutput | 

        try {
            apiInstance.v1CustomersIntentsPut(customerOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIntentsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CustomerOutput customerOutput = new CustomerOutput(); // CustomerOutput | 

try {
    final result = await api_instance.v1CustomersIntentsPut(customerOutput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersIntentsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CustomerOutput customerOutput = ; // CustomerOutput | 

        try {
            apiInstance.v1CustomersIntentsPut(customerOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersIntentsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CustomerOutput *customerOutput = ; // 

[apiInstance v1CustomersIntentsPutWith:customerOutput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var customerOutput = ; // {CustomerOutput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomersIntentsPut(customerOutput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersIntentsPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var customerOutput = new CustomerOutput(); // CustomerOutput | 

            try {
                apiInstance.v1CustomersIntentsPut(customerOutput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersIntentsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$customerOutput = ; // CustomerOutput | 

try {
    $api_instance->v1CustomersIntentsPut($customerOutput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersIntentsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $customerOutput = WWW::OPenAPIClient::Object::CustomerOutput->new(); # CustomerOutput | 

eval {
    $api_instance->v1CustomersIntentsPut(customerOutput => $customerOutput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersIntentsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
customerOutput =  # CustomerOutput | 

try:
    api_instance.v1_customers_intents_put(customerOutput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersIntentsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let customerOutput = ; // CustomerOutput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersIntentsPut(customerOutput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
customerOutput *

Responses


v1CustomersPost


/v1/customers

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        CustomerInput customerInput = ; // CustomerInput | 

        try {
            apiInstance.v1CustomersPost(customerInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final CustomerInput customerInput = new CustomerInput(); // CustomerInput | 

try {
    final result = await api_instance.v1CustomersPost(customerInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        CustomerInput customerInput = ; // CustomerInput | 

        try {
            apiInstance.v1CustomersPost(customerInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
CustomerInput *customerInput = ; // 

[apiInstance v1CustomersPostWith:customerInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var customerInput = ; // {CustomerInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1CustomersPost(customerInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var customerInput = new CustomerInput(); // CustomerInput | 

            try {
                apiInstance.v1CustomersPost(customerInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$customerInput = ; // CustomerInput | 

try {
    $api_instance->v1CustomersPost($customerInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $customerInput = WWW::OPenAPIClient::Object::CustomerInput->new(); # CustomerInput | 

eval {
    $api_instance->v1CustomersPost(customerInput => $customerInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
customerInput =  # CustomerInput | 

try:
    api_instance.v1_customers_post(customerInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let customerInput = ; // CustomerInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersPost(customerInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
customerInput *

Responses


v1CustomersSearchGet


/v1/customers/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/customers/search?db_only=dbOnly_example&limit=limit_example&vat=vat_example&name=name_example&offset=offset_example&fiscal_code=fiscalCode_example&code=code_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String limit = limit_example; // String | 
        String dbOnly = dbOnly_example; // String | 
        String vat = vat_example; // String | 
        String name = name_example; // String | 
        String offset = offset_example; // String | 
        String fiscalCode = fiscalCode_example; // String | 
        String code = code_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[customerOutputArray_inner] result = apiInstance.v1CustomersSearchGet(limit, dbOnly, vat, name, offset, fiscalCode, code, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String limit = new String(); // String | 
final String dbOnly = new String(); // String | 
final String vat = new String(); // String | 
final String name = new String(); // String | 
final String offset = new String(); // String | 
final String fiscalCode = new String(); // String | 
final String code = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1CustomersSearchGet(limit, dbOnly, vat, name, offset, fiscalCode, code, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1CustomersSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String limit = limit_example; // String | 
        String dbOnly = dbOnly_example; // String | 
        String vat = vat_example; // String | 
        String name = name_example; // String | 
        String offset = offset_example; // String | 
        String fiscalCode = fiscalCode_example; // String | 
        String code = code_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[customerOutputArray_inner] result = apiInstance.v1CustomersSearchGet(limit, dbOnly, vat, name, offset, fiscalCode, code, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1CustomersSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *limit = limit_example; //  (default to null)
String *dbOnly = dbOnly_example; //  (optional) (default to null)
String *vat = vat_example; //  (optional) (default to null)
String *name = name_example; //  (optional) (default to null)
String *offset = offset_example; //  (optional) (default to null)
String *fiscalCode = fiscalCode_example; //  (optional) (default to null)
String *code = code_example; //  (optional) (default to null)
String *supplierId = supplierId_example; //  (optional) (default to null)

[apiInstance v1CustomersSearchGetWith:limit
    dbOnly:dbOnly
    vat:vat
    name:name
    offset:offset
    fiscalCode:fiscalCode
    code:code
    supplierId:supplierId
              completionHandler: ^(array[customerOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var limit = limit_example; // {String} 
var opts = {
  'dbOnly': dbOnly_example, // {String} 
  'vat': vat_example, // {String} 
  'name': name_example, // {String} 
  'offset': offset_example, // {String} 
  'fiscalCode': fiscalCode_example, // {String} 
  'code': code_example, // {String} 
  'supplierId': supplierId_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1CustomersSearchGet(limit, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1CustomersSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var limit = limit_example;  // String |  (default to null)
            var dbOnly = dbOnly_example;  // String |  (optional)  (default to null)
            var vat = vat_example;  // String |  (optional)  (default to null)
            var name = name_example;  // String |  (optional)  (default to null)
            var offset = offset_example;  // String |  (optional)  (default to null)
            var fiscalCode = fiscalCode_example;  // String |  (optional)  (default to null)
            var code = code_example;  // String |  (optional)  (default to null)
            var supplierId = supplierId_example;  // String |  (optional)  (default to null)

            try {
                array[customerOutputArray_inner] result = apiInstance.v1CustomersSearchGet(limit, dbOnly, vat, name, offset, fiscalCode, code, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1CustomersSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$limit = limit_example; // String | 
$dbOnly = dbOnly_example; // String | 
$vat = vat_example; // String | 
$name = name_example; // String | 
$offset = offset_example; // String | 
$fiscalCode = fiscalCode_example; // String | 
$code = code_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1CustomersSearchGet($limit, $dbOnly, $vat, $name, $offset, $fiscalCode, $code, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1CustomersSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $limit = limit_example; # String | 
my $dbOnly = dbOnly_example; # String | 
my $vat = vat_example; # String | 
my $name = name_example; # String | 
my $offset = offset_example; # String | 
my $fiscalCode = fiscalCode_example; # String | 
my $code = code_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1CustomersSearchGet(limit => $limit, dbOnly => $dbOnly, vat => $vat, name => $name, offset => $offset, fiscalCode => $fiscalCode, code => $code, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1CustomersSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
limit = limit_example # String |  (default to null)
dbOnly = dbOnly_example # String |  (optional) (default to null)
vat = vat_example # String |  (optional) (default to null)
name = name_example # String |  (optional) (default to null)
offset = offset_example # String |  (optional) (default to null)
fiscalCode = fiscalCode_example # String |  (optional) (default to null)
code = code_example # String |  (optional) (default to null)
supplierId = supplierId_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_customers_search_get(limit, dbOnly=dbOnly, vat=vat, name=name, offset=offset, fiscalCode=fiscalCode, code=code, supplierId=supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1CustomersSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let limit = limit_example; // String
    let dbOnly = dbOnly_example; // String
    let vat = vat_example; // String
    let name = name_example; // String
    let offset = offset_example; // String
    let fiscalCode = fiscalCode_example; // String
    let code = code_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1CustomersSearchGet(limit, dbOnly, vat, name, offset, fiscalCode, code, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
db_only
String
limit*
String
Required
vat
String
name
String
offset
String
fiscal_code
String
code
String
supplier_id
String

Responses


v1FuelcouponsIdUnlockHistoryGet


/v1/fuelcoupons/{id}/unlock/history

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelcoupons/{id}/unlock/history"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelcouponUnlockHistoryOutputArray_inner] result = apiInstance.v1FuelcouponsIdUnlockHistoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelcouponsIdUnlockHistoryGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1FuelcouponsIdUnlockHistoryGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelcouponsIdUnlockHistoryGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelcouponUnlockHistoryOutputArray_inner] result = apiInstance.v1FuelcouponsIdUnlockHistoryGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelcouponsIdUnlockHistoryGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1FuelcouponsIdUnlockHistoryGetWith:id
              completionHandler: ^(array[fuelcouponUnlockHistoryOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelcouponsIdUnlockHistoryGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelcouponsIdUnlockHistoryGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[fuelcouponUnlockHistoryOutputArray_inner] result = apiInstance.v1FuelcouponsIdUnlockHistoryGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelcouponsIdUnlockHistoryGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1FuelcouponsIdUnlockHistoryGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelcouponsIdUnlockHistoryGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1FuelcouponsIdUnlockHistoryGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelcouponsIdUnlockHistoryGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_fuelcoupons_id_unlock_history_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelcouponsIdUnlockHistoryGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelcouponsIdUnlockHistoryGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1FuelstationsCheckGet

Your GET endpoint


/v1/fuelstations/check

Usage and SDK Samples

curl -X GET \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/check?is_code=isCode_example&supplier_code=supplierCode_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String isCode = isCode_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            apiInstance.v1FuelstationsCheckGet(isCode, supplierCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsCheckGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String isCode = new String(); // String | 
final String supplierCode = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsCheckGet(isCode, supplierCode);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsCheckGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String isCode = isCode_example; // String | 
        String supplierCode = supplierCode_example; // String | 

        try {
            apiInstance.v1FuelstationsCheckGet(isCode, supplierCode);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsCheckGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *isCode = isCode_example; //  (optional) (default to null)
String *supplierCode = supplierCode_example; //  (optional) (default to null)

// Your GET endpoint
[apiInstance v1FuelstationsCheckGetWith:isCode
    supplierCode:supplierCode
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'isCode': isCode_example, // {String} 
  'supplierCode': supplierCode_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1FuelstationsCheckGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsCheckGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var isCode = isCode_example;  // String |  (optional)  (default to null)
            var supplierCode = supplierCode_example;  // String |  (optional)  (default to null)

            try {
                // Your GET endpoint
                apiInstance.v1FuelstationsCheckGet(isCode, supplierCode);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsCheckGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$isCode = isCode_example; // String | 
$supplierCode = supplierCode_example; // String | 

try {
    $api_instance->v1FuelstationsCheckGet($isCode, $supplierCode);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsCheckGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $isCode = isCode_example; # String | 
my $supplierCode = supplierCode_example; # String | 

eval {
    $api_instance->v1FuelstationsCheckGet(isCode => $isCode, supplierCode => $supplierCode);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsCheckGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
isCode = isCode_example # String |  (optional) (default to null)
supplierCode = supplierCode_example # String |  (optional) (default to null)

try:
    # Your GET endpoint
    api_instance.v1_fuelstations_check_get(isCode=isCode, supplierCode=supplierCode)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsCheckGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let isCode = isCode_example; // String
    let supplierCode = supplierCode_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsCheckGet(isCode, supplierCode, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
is_code
String
supplier_code
String

Responses


v1FuelstationsGet


/v1/fuelstations

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations?source_app=sourceApp_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String sourceApp = sourceApp_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[fuelStationsOutputArray_inner] result = apiInstance.v1FuelstationsGet(sourceApp, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String sourceApp = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsGet(sourceApp, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String sourceApp = sourceApp_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[fuelStationsOutputArray_inner] result = apiInstance.v1FuelstationsGet(sourceApp, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *sourceApp = sourceApp_example; //  (default to null)
String *supplierId = supplierId_example; //  (optional) (default to null)

[apiInstance v1FuelstationsGetWith:sourceApp
    supplierId:supplierId
              completionHandler: ^(array[fuelStationsOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var sourceApp = sourceApp_example; // {String} 
var opts = {
  'supplierId': supplierId_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelstationsGet(sourceApp, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var sourceApp = sourceApp_example;  // String |  (default to null)
            var supplierId = supplierId_example;  // String |  (optional)  (default to null)

            try {
                array[fuelStationsOutputArray_inner] result = apiInstance.v1FuelstationsGet(sourceApp, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$sourceApp = sourceApp_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1FuelstationsGet($sourceApp, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $sourceApp = sourceApp_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1FuelstationsGet(sourceApp => $sourceApp, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
sourceApp = sourceApp_example # String |  (default to null)
supplierId = supplierId_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_fuelstations_get(sourceApp, supplierId=supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let sourceApp = sourceApp_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsGet(sourceApp, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
source_app*
String
Required
supplier_id
String

Responses


v1FuelstationsIdGet


/v1/fuelstations/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/{id}?isQr=isQr_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String isQr = isQr_example; // String | 

        try {
            fuelStationOutput result = apiInstance.v1FuelstationsIdGet(id, isQr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final String isQr = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsIdGet(id, isQr);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String isQr = isQr_example; // String | 

        try {
            fuelStationOutput result = apiInstance.v1FuelstationsIdGet(id, isQr);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
String *isQr = isQr_example; //  (optional) (default to null)

[apiInstance v1FuelstationsIdGetWith:id
    isQr:isQr
              completionHandler: ^(fuelStationOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var opts = {
  'isQr': isQr_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelstationsIdGet(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var isQr = isQr_example;  // String |  (optional)  (default to null)

            try {
                fuelStationOutput result = apiInstance.v1FuelstationsIdGet(id, isQr);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$isQr = isQr_example; // String | 

try {
    $result = $api_instance->v1FuelstationsIdGet($id, $isQr);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $isQr = isQr_example; # String | 

eval {
    my $result = $api_instance->v1FuelstationsIdGet(id => $id, isQr => $isQr);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
isQr = isQr_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_fuelstations_id_get(id, isQr=isQr)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let isQr = isQr_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsIdGet(id, isQr, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Query parameters
Name Description
isQr
String

Responses


v1FuelstationsIdInvoiceheadersGet


/v1/fuelstations/{id}/invoiceheaders

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/{id}/invoiceheaders"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1FuelstationsIdInvoiceheadersGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdInvoiceheadersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsIdInvoiceheadersGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1FuelstationsIdInvoiceheadersGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdInvoiceheadersGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1FuelstationsIdInvoiceheadersGetWith:id
              completionHandler: ^(invoiceHeaderOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelstationsIdInvoiceheadersGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsIdInvoiceheadersGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                invoiceHeaderOutput result = apiInstance.v1FuelstationsIdInvoiceheadersGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsIdInvoiceheadersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1FuelstationsIdInvoiceheadersGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1FuelstationsIdInvoiceheadersGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_fuelstations_id_invoiceheaders_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsIdInvoiceheadersGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1FuelstationsIdInvoiceheadersPost


/v1/fuelstations/{id}/invoiceheaders

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/{id}/invoiceheaders" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdInvoiceheadersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final InvoiceHeaderInput invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

try {
    final result = await api_instance.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdInvoiceheadersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
InvoiceHeaderInput *invoiceHeaderInput = ; // 

[apiInstance v1FuelstationsIdInvoiceheadersPostWith:id
    invoiceHeaderInput:invoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var invoiceHeaderInput = ; // {InvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsIdInvoiceheadersPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

            try {
                apiInstance.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsIdInvoiceheadersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$invoiceHeaderInput = ; // InvoiceHeaderInput | 

try {
    $api_instance->v1FuelstationsIdInvoiceheadersPost($id, $invoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $invoiceHeaderInput = WWW::OPenAPIClient::Object::InvoiceHeaderInput->new(); # InvoiceHeaderInput | 

eval {
    $api_instance->v1FuelstationsIdInvoiceheadersPost(id => $id, invoiceHeaderInput => $invoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
invoiceHeaderInput =  # InvoiceHeaderInput | 

try:
    api_instance.v1_fuelstations_id_invoiceheaders_post(id, invoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsIdInvoiceheadersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let invoiceHeaderInput = ; // InvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsIdInvoiceheadersPost(id, invoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
invoiceHeaderInput *

Responses


v1FuelstationsIdPricesAppliedGet


/v1/fuelstations/{id}/prices/applied

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/{id}/prices/applied?article_id=articleId_example&price_level_id=priceLevelId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String articleId = articleId_example; // String | 
        String priceLevelId = priceLevelId_example; // String | 

        try {
            array[appliedPriceOutputArray_inner] result = apiInstance.v1FuelstationsIdPricesAppliedGet(id, articleId, priceLevelId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdPricesAppliedGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final String articleId = new String(); // String | 
final String priceLevelId = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsIdPricesAppliedGet(id, articleId, priceLevelId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsIdPricesAppliedGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String articleId = articleId_example; // String | 
        String priceLevelId = priceLevelId_example; // String | 

        try {
            array[appliedPriceOutputArray_inner] result = apiInstance.v1FuelstationsIdPricesAppliedGet(id, articleId, priceLevelId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdPricesAppliedGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
String *articleId = articleId_example; //  (optional) (default to null)
String *priceLevelId = priceLevelId_example; //  (optional) (default to null)

[apiInstance v1FuelstationsIdPricesAppliedGetWith:id
    articleId:articleId
    priceLevelId:priceLevelId
              completionHandler: ^(array[appliedPriceOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var opts = {
  'articleId': articleId_example, // {String} 
  'priceLevelId': priceLevelId_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelstationsIdPricesAppliedGet(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsIdPricesAppliedGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var articleId = articleId_example;  // String |  (optional)  (default to null)
            var priceLevelId = priceLevelId_example;  // String |  (optional)  (default to null)

            try {
                array[appliedPriceOutputArray_inner] result = apiInstance.v1FuelstationsIdPricesAppliedGet(id, articleId, priceLevelId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsIdPricesAppliedGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$articleId = articleId_example; // String | 
$priceLevelId = priceLevelId_example; // String | 

try {
    $result = $api_instance->v1FuelstationsIdPricesAppliedGet($id, $articleId, $priceLevelId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsIdPricesAppliedGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $articleId = articleId_example; # String | 
my $priceLevelId = priceLevelId_example; # String | 

eval {
    my $result = $api_instance->v1FuelstationsIdPricesAppliedGet(id => $id, articleId => $articleId, priceLevelId => $priceLevelId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsIdPricesAppliedGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
articleId = articleId_example # String |  (optional) (default to null)
priceLevelId = priceLevelId_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_fuelstations_id_prices_applied_get(id, articleId=articleId, priceLevelId=priceLevelId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsIdPricesAppliedGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let articleId = articleId_example; // String
    let priceLevelId = priceLevelId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsIdPricesAppliedGet(id, articleId, priceLevelId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Query parameters
Name Description
article_id
String
price_level_id
String

Responses


v1FuelstationsIdPut


/v1/fuelstations/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        FuelStationInput fuelStationInput = ; // FuelStationInput | 

        try {
            apiInstance.v1FuelstationsIdPut(id, fuelStationInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final FuelStationInput fuelStationInput = new FuelStationInput(); // FuelStationInput | 

try {
    final result = await api_instance.v1FuelstationsIdPut(id, fuelStationInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        FuelStationInput fuelStationInput = ; // FuelStationInput | 

        try {
            apiInstance.v1FuelstationsIdPut(id, fuelStationInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
FuelStationInput *fuelStationInput = ; // 

[apiInstance v1FuelstationsIdPutWith:id
    fuelStationInput:fuelStationInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var fuelStationInput = ; // {FuelStationInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1FuelstationsIdPut(id, fuelStationInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var fuelStationInput = new FuelStationInput(); // FuelStationInput | 

            try {
                apiInstance.v1FuelstationsIdPut(id, fuelStationInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$fuelStationInput = ; // FuelStationInput | 

try {
    $api_instance->v1FuelstationsIdPut($id, $fuelStationInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $fuelStationInput = WWW::OPenAPIClient::Object::FuelStationInput->new(); # FuelStationInput | 

eval {
    $api_instance->v1FuelstationsIdPut(id => $id, fuelStationInput => $fuelStationInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
fuelStationInput =  # FuelStationInput | 

try:
    api_instance.v1_fuelstations_id_put(id, fuelStationInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let fuelStationInput = ; // FuelStationInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsIdPut(id, fuelStationInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
fuelStationInput *

Responses


v1FuelstationsPost


/v1/fuelstations

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        FuelStationInput fuelStationInput = ; // FuelStationInput | 

        try {
            apiInstance.v1FuelstationsPost(fuelStationInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final FuelStationInput fuelStationInput = new FuelStationInput(); // FuelStationInput | 

try {
    final result = await api_instance.v1FuelstationsPost(fuelStationInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        FuelStationInput fuelStationInput = ; // FuelStationInput | 

        try {
            apiInstance.v1FuelstationsPost(fuelStationInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
FuelStationInput *fuelStationInput = ; // 

[apiInstance v1FuelstationsPostWith:fuelStationInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelStationInput = ; // {FuelStationInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1FuelstationsPost(fuelStationInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelStationInput = new FuelStationInput(); // FuelStationInput | 

            try {
                apiInstance.v1FuelstationsPost(fuelStationInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelStationInput = ; // FuelStationInput | 

try {
    $api_instance->v1FuelstationsPost($fuelStationInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelStationInput = WWW::OPenAPIClient::Object::FuelStationInput->new(); # FuelStationInput | 

eval {
    $api_instance->v1FuelstationsPost(fuelStationInput => $fuelStationInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelStationInput =  # FuelStationInput | 

try:
    api_instance.v1_fuelstations_post(fuelStationInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelStationInput = ; // FuelStationInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsPost(fuelStationInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
fuelStationInput *

Responses


v1FuelstationsSearchGet


/v1/fuelstations/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/search?longitude=longitude_example&articles=articles_example&latitude=latitude_example&service=service_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String longitude = longitude_example; // String | 
        String articles = articles_example; // String | 
        String latitude = latitude_example; // String | 
        String service = service_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1FuelstationsSearchGet(longitude, articles, latitude, service);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String longitude = new String(); // String | 
final String articles = new String(); // String | 
final String latitude = new String(); // String | 
final String service = new String(); // String | 

try {
    final result = await api_instance.v1FuelstationsSearchGet(longitude, articles, latitude, service);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String longitude = longitude_example; // String | 
        String articles = articles_example; // String | 
        String latitude = latitude_example; // String | 
        String service = service_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1FuelstationsSearchGet(longitude, articles, latitude, service);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *longitude = longitude_example; //  (optional) (default to null)
String *articles = articles_example; //  (optional) (default to null)
String *latitude = latitude_example; //  (optional) (default to null)
String *service = service_example; //  (optional) (default to null)

[apiInstance v1FuelstationsSearchGetWith:longitude
    articles:articles
    latitude:latitude
    service:service
              completionHandler: ^(array[fuelStationOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'longitude': longitude_example, // {String} 
  'articles': articles_example, // {String} 
  'latitude': latitude_example, // {String} 
  'service': service_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1FuelstationsSearchGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var longitude = longitude_example;  // String |  (optional)  (default to null)
            var articles = articles_example;  // String |  (optional)  (default to null)
            var latitude = latitude_example;  // String |  (optional)  (default to null)
            var service = service_example;  // String |  (optional)  (default to null)

            try {
                array[fuelStationOutputArray_inner] result = apiInstance.v1FuelstationsSearchGet(longitude, articles, latitude, service);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$longitude = longitude_example; // String | 
$articles = articles_example; // String | 
$latitude = latitude_example; // String | 
$service = service_example; // String | 

try {
    $result = $api_instance->v1FuelstationsSearchGet($longitude, $articles, $latitude, $service);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $longitude = longitude_example; # String | 
my $articles = articles_example; # String | 
my $latitude = latitude_example; # String | 
my $service = service_example; # String | 

eval {
    my $result = $api_instance->v1FuelstationsSearchGet(longitude => $longitude, articles => $articles, latitude => $latitude, service => $service);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
longitude = longitude_example # String |  (optional) (default to null)
articles = articles_example # String |  (optional) (default to null)
latitude = latitude_example # String |  (optional) (default to null)
service = service_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_fuelstations_search_get(longitude=longitude, articles=articles, latitude=latitude, service=service)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let longitude = longitude_example; // String
    let articles = articles_example; // String
    let latitude = latitude_example; // String
    let service = service_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsSearchGet(longitude, articles, latitude, service, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
longitude
String
articles
String
latitude
String
service
String

Responses


v1FuelstationsSearchPricesAppliedMisePost


/v1/fuelstations/search/prices/applied/mise

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/fuelstations/search/prices/applied/mise" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Object body = Object; // Object | 

        try {
            apiInstance.v1FuelstationsSearchPricesAppliedMisePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsSearchPricesAppliedMisePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Object body = new Object(); // Object | 

try {
    final result = await api_instance.v1FuelstationsSearchPricesAppliedMisePost(body);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1FuelstationsSearchPricesAppliedMisePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Object body = Object; // Object | 

        try {
            apiInstance.v1FuelstationsSearchPricesAppliedMisePost(body);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1FuelstationsSearchPricesAppliedMisePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Object *body = Object; // 

[apiInstance v1FuelstationsSearchPricesAppliedMisePostWith:body
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var body = Object; // {Object} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1FuelstationsSearchPricesAppliedMisePost(body, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1FuelstationsSearchPricesAppliedMisePostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var body = Object;  // Object | 

            try {
                apiInstance.v1FuelstationsSearchPricesAppliedMisePost(body);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1FuelstationsSearchPricesAppliedMisePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$body = Object; // Object | 

try {
    $api_instance->v1FuelstationsSearchPricesAppliedMisePost($body);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1FuelstationsSearchPricesAppliedMisePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $body = WWW::OPenAPIClient::Object::Object->new(); # Object | 

eval {
    $api_instance->v1FuelstationsSearchPricesAppliedMisePost(body => $body);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1FuelstationsSearchPricesAppliedMisePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
body = Object # Object | 

try:
    api_instance.v1_fuelstations_search_prices_applied_mise_post(body)
except ApiException as e:
    print("Exception when calling DefaultApi->v1FuelstationsSearchPricesAppliedMisePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let body = Object; // Object

    let mut context = DefaultApi::Context::default();
    let result = client.v1FuelstationsSearchPricesAppliedMisePost(body, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
body *

Responses


v1InvoiceheadersIdGet


/v1/invoiceheaders/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoiceheaders/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1InvoiceheadersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceheadersIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1InvoiceheadersIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoiceheadersIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1InvoiceheadersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceheadersIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1InvoiceheadersIdGetWith:id
              completionHandler: ^(invoiceHeaderOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoiceheadersIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoiceheadersIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                invoiceHeaderOutput result = apiInstance.v1InvoiceheadersIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceheadersIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1InvoiceheadersIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoiceheadersIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1InvoiceheadersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceheadersIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_invoiceheaders_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceheadersIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoiceheadersIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1InvoiceheadersIdPut


/v1/invoiceheaders/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoiceheaders/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1InvoiceheadersIdPut(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceheadersIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final InvoiceHeaderInput invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

try {
    final result = await api_instance.v1InvoiceheadersIdPut(id, invoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoiceheadersIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1InvoiceheadersIdPut(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoiceheadersIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
InvoiceHeaderInput *invoiceHeaderInput = ; // 

[apiInstance v1InvoiceheadersIdPutWith:id
    invoiceHeaderInput:invoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var invoiceHeaderInput = ; // {InvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoiceheadersIdPut(id, invoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoiceheadersIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

            try {
                apiInstance.v1InvoiceheadersIdPut(id, invoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoiceheadersIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$invoiceHeaderInput = ; // InvoiceHeaderInput | 

try {
    $api_instance->v1InvoiceheadersIdPut($id, $invoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoiceheadersIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $invoiceHeaderInput = WWW::OPenAPIClient::Object::InvoiceHeaderInput->new(); # InvoiceHeaderInput | 

eval {
    $api_instance->v1InvoiceheadersIdPut(id => $id, invoiceHeaderInput => $invoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoiceheadersIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
invoiceHeaderInput =  # InvoiceHeaderInput | 

try:
    api_instance.v1_invoiceheaders_id_put(id, invoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoiceheadersIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let invoiceHeaderInput = ; // InvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoiceheadersIdPut(id, invoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
invoiceHeaderInput *

Responses


v1InvoicesActiveIdDetailsDetailidGet


/v1/invoices/active/{id}/details/{detailid}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}/details/{detailid}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String detailid = detailid_example; // String | 

        try {
            array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsDetailidGet(id, detailid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsDetailidGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final String detailid = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesActiveIdDetailsDetailidGet(id, detailid);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdDetailsDetailidGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String detailid = detailid_example; // String | 

        try {
            array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsDetailidGet(id, detailid);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsDetailidGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
String *detailid = detailid_example; //  (default to null)

[apiInstance v1InvoicesActiveIdDetailsDetailidGetWith:id
    detailid:detailid
              completionHandler: ^(array[invoiceBodyOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var detailid = detailid_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesActiveIdDetailsDetailidGet(id, detailid, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdDetailsDetailidGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var detailid = detailid_example;  // String |  (default to null)

            try {
                array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsDetailidGet(id, detailid);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdDetailsDetailidGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$detailid = detailid_example; // String | 

try {
    $result = $api_instance->v1InvoicesActiveIdDetailsDetailidGet($id, $detailid);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdDetailsDetailidGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $detailid = detailid_example; # String | 

eval {
    my $result = $api_instance->v1InvoicesActiveIdDetailsDetailidGet(id => $id, detailid => $detailid);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdDetailsDetailidGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
detailid = detailid_example # String |  (default to null)

try:
    api_response = api_instance.v1_invoices_active_id_details_detailid_get(id, detailid)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdDetailsDetailidGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let detailid = detailid_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdDetailsDetailidGet(id, detailid, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
detailid*
String
Required

Responses


v1InvoicesActiveIdDetailsGet


/v1/invoices/active/{id}/details

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}/details"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesActiveIdDetailsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdDetailsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1InvoicesActiveIdDetailsGetWith:id
              completionHandler: ^(array[invoiceBodyOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesActiveIdDetailsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdDetailsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[invoiceBodyOutputArray_inner] result = apiInstance.v1InvoicesActiveIdDetailsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdDetailsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1InvoicesActiveIdDetailsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdDetailsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1InvoicesActiveIdDetailsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdDetailsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_invoices_active_id_details_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdDetailsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdDetailsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1InvoicesActiveIdDetailsRestorePost


/v1/invoices/active/{id}/details/restore

Usage and SDK Samples

curl -X POST \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}/details/restore"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1InvoicesActiveIdDetailsRestorePost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsRestorePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesActiveIdDetailsRestorePost(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdDetailsRestorePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1InvoicesActiveIdDetailsRestorePost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdDetailsRestorePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1InvoicesActiveIdDetailsRestorePostWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesActiveIdDetailsRestorePost(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdDetailsRestorePostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1InvoicesActiveIdDetailsRestorePost(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdDetailsRestorePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1InvoicesActiveIdDetailsRestorePost($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdDetailsRestorePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1InvoicesActiveIdDetailsRestorePost(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdDetailsRestorePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_invoices_active_id_details_restore_post(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdDetailsRestorePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdDetailsRestorePost(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1InvoicesActiveIdGet


/v1/invoices/active/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            patchActiveInvoiceHeaderOutput result = apiInstance.v1InvoicesActiveIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesActiveIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            patchActiveInvoiceHeaderOutput result = apiInstance.v1InvoicesActiveIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1InvoicesActiveIdGetWith:id
              completionHandler: ^(patchActiveInvoiceHeaderOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesActiveIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                patchActiveInvoiceHeaderOutput result = apiInstance.v1InvoicesActiveIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1InvoicesActiveIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1InvoicesActiveIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_invoices_active_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1InvoicesActiveIdPatch


/v1/invoices/active/{id}

Usage and SDK Samples

curl -X PATCH \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        PatchActiveInvoiceInput patchActiveInvoiceInput = ; // PatchActiveInvoiceInput | 

        try {
            apiInstance.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdPatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final PatchActiveInvoiceInput patchActiveInvoiceInput = new PatchActiveInvoiceInput(); // PatchActiveInvoiceInput | 

try {
    final result = await api_instance.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdPatch: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        PatchActiveInvoiceInput patchActiveInvoiceInput = ; // PatchActiveInvoiceInput | 

        try {
            apiInstance.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdPatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
PatchActiveInvoiceInput *patchActiveInvoiceInput = ; // 

[apiInstance v1InvoicesActiveIdPatchWith:id
    patchActiveInvoiceInput:patchActiveInvoiceInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var patchActiveInvoiceInput = ; // {PatchActiveInvoiceInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdPatchExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var patchActiveInvoiceInput = new PatchActiveInvoiceInput(); // PatchActiveInvoiceInput | 

            try {
                apiInstance.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdPatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$patchActiveInvoiceInput = ; // PatchActiveInvoiceInput | 

try {
    $api_instance->v1InvoicesActiveIdPatch($id, $patchActiveInvoiceInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdPatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $patchActiveInvoiceInput = WWW::OPenAPIClient::Object::PatchActiveInvoiceInput->new(); # PatchActiveInvoiceInput | 

eval {
    $api_instance->v1InvoicesActiveIdPatch(id => $id, patchActiveInvoiceInput => $patchActiveInvoiceInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdPatch: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
patchActiveInvoiceInput =  # PatchActiveInvoiceInput | 

try:
    api_instance.v1_invoices_active_id_patch(id, patchActiveInvoiceInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdPatch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let patchActiveInvoiceInput = ; // PatchActiveInvoiceInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdPatch(id, patchActiveInvoiceInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
patchActiveInvoiceInput *

Responses


v1InvoicesActiveIdPut


/v1/invoices/active/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ActiveInvoiceHeaderInput activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final ActiveInvoiceHeaderInput activeInvoiceHeaderInput = new ActiveInvoiceHeaderInput(); // ActiveInvoiceHeaderInput | 

try {
    final result = await api_instance.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ActiveInvoiceHeaderInput activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
ActiveInvoiceHeaderInput *activeInvoiceHeaderInput = ; // 

[apiInstance v1InvoicesActiveIdPutWith:id
    activeInvoiceHeaderInput:activeInvoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var activeInvoiceHeaderInput = ; // {ActiveInvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var activeInvoiceHeaderInput = new ActiveInvoiceHeaderInput(); // ActiveInvoiceHeaderInput | 

            try {
                apiInstance.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

try {
    $api_instance->v1InvoicesActiveIdPut($id, $activeInvoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $activeInvoiceHeaderInput = WWW::OPenAPIClient::Object::ActiveInvoiceHeaderInput->new(); # ActiveInvoiceHeaderInput | 

eval {
    $api_instance->v1InvoicesActiveIdPut(id => $id, activeInvoiceHeaderInput => $activeInvoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
activeInvoiceHeaderInput =  # ActiveInvoiceHeaderInput | 

try:
    api_instance.v1_invoices_active_id_put(id, activeInvoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveIdPut(id, activeInvoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
activeInvoiceHeaderInput *

Responses


v1InvoicesActivePatch


/v1/invoices/active

Usage and SDK Samples

curl -X PATCH \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ActiveInvoiceAcceptRejectInput activeInvoiceAcceptRejectInput = ; // ActiveInvoiceAcceptRejectInput | 

        try {
            apiInstance.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActivePatch");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ActiveInvoiceAcceptRejectInput activeInvoiceAcceptRejectInput = new ActiveInvoiceAcceptRejectInput(); // ActiveInvoiceAcceptRejectInput | 

try {
    final result = await api_instance.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActivePatch: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActiveInvoiceAcceptRejectInput activeInvoiceAcceptRejectInput = ; // ActiveInvoiceAcceptRejectInput | 

        try {
            apiInstance.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActivePatch");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActiveInvoiceAcceptRejectInput *activeInvoiceAcceptRejectInput = ; // 

[apiInstance v1InvoicesActivePatchWith:activeInvoiceAcceptRejectInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var activeInvoiceAcceptRejectInput = ; // {ActiveInvoiceAcceptRejectInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActivePatchExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var activeInvoiceAcceptRejectInput = new ActiveInvoiceAcceptRejectInput(); // ActiveInvoiceAcceptRejectInput | 

            try {
                apiInstance.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActivePatch: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$activeInvoiceAcceptRejectInput = ; // ActiveInvoiceAcceptRejectInput | 

try {
    $api_instance->v1InvoicesActivePatch($activeInvoiceAcceptRejectInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActivePatch: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $activeInvoiceAcceptRejectInput = WWW::OPenAPIClient::Object::ActiveInvoiceAcceptRejectInput->new(); # ActiveInvoiceAcceptRejectInput | 

eval {
    $api_instance->v1InvoicesActivePatch(activeInvoiceAcceptRejectInput => $activeInvoiceAcceptRejectInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActivePatch: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
activeInvoiceAcceptRejectInput =  # ActiveInvoiceAcceptRejectInput | 

try:
    api_instance.v1_invoices_active_patch(activeInvoiceAcceptRejectInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActivePatch: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let activeInvoiceAcceptRejectInput = ; // ActiveInvoiceAcceptRejectInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActivePatch(activeInvoiceAcceptRejectInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
activeInvoiceAcceptRejectInput *

Responses


v1InvoicesActivePut


/v1/invoices/active

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ActiveInvoiceHeaderInput activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesActivePut(activeInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActivePut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ActiveInvoiceHeaderInput activeInvoiceHeaderInput = new ActiveInvoiceHeaderInput(); // ActiveInvoiceHeaderInput | 

try {
    final result = await api_instance.v1InvoicesActivePut(activeInvoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActivePut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ActiveInvoiceHeaderInput activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesActivePut(activeInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActivePut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ActiveInvoiceHeaderInput *activeInvoiceHeaderInput = ; // 

[apiInstance v1InvoicesActivePutWith:activeInvoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var activeInvoiceHeaderInput = ; // {ActiveInvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesActivePut(activeInvoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActivePutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var activeInvoiceHeaderInput = new ActiveInvoiceHeaderInput(); // ActiveInvoiceHeaderInput | 

            try {
                apiInstance.v1InvoicesActivePut(activeInvoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActivePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput | 

try {
    $api_instance->v1InvoicesActivePut($activeInvoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActivePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $activeInvoiceHeaderInput = WWW::OPenAPIClient::Object::ActiveInvoiceHeaderInput->new(); # ActiveInvoiceHeaderInput | 

eval {
    $api_instance->v1InvoicesActivePut(activeInvoiceHeaderInput => $activeInvoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActivePut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
activeInvoiceHeaderInput =  # ActiveInvoiceHeaderInput | 

try:
    api_instance.v1_invoices_active_put(activeInvoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActivePut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let activeInvoiceHeaderInput = ; // ActiveInvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActivePut(activeInvoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
activeInvoiceHeaderInput *

Responses


v1InvoicesActiveSearchGet


/v1/invoices/active/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/active/search?start=start_example&supplierId=supplierId_example&status=status_example&end=end_example&customerId=customerId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String status = status_example; // String | 
        String start = start_example; // String | 
        String supplierId = supplierId_example; // String | 
        String end = end_example; // String | 
        String customerId = customerId_example; // String | 

        try {
            array[activeInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesActiveSearchGet(status, start, supplierId, end, customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String status = new String(); // String | 
final String start = new String(); // String | 
final String supplierId = new String(); // String | 
final String end = new String(); // String | 
final String customerId = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesActiveSearchGet(status, start, supplierId, end, customerId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesActiveSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String status = status_example; // String | 
        String start = start_example; // String | 
        String supplierId = supplierId_example; // String | 
        String end = end_example; // String | 
        String customerId = customerId_example; // String | 

        try {
            array[activeInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesActiveSearchGet(status, start, supplierId, end, customerId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesActiveSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *status = status_example; //  (default to null)
String *start = start_example; //  (optional) (default to null)
String *supplierId = supplierId_example; //  (optional) (default to null)
String *end = end_example; //  (optional) (default to null)
String *customerId = customerId_example; //  (optional) (default to null)

[apiInstance v1InvoicesActiveSearchGetWith:status
    start:start
    supplierId:supplierId
    end:end
    customerId:customerId
              completionHandler: ^(array[activeInvoiceHeaderOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var status = status_example; // {String} 
var opts = {
  'start': start_example, // {String} 
  'supplierId': supplierId_example, // {String} 
  'end': end_example, // {String} 
  'customerId': customerId_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesActiveSearchGet(status, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesActiveSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var status = status_example;  // String |  (default to null)
            var start = start_example;  // String |  (optional)  (default to null)
            var supplierId = supplierId_example;  // String |  (optional)  (default to null)
            var end = end_example;  // String |  (optional)  (default to null)
            var customerId = customerId_example;  // String |  (optional)  (default to null)

            try {
                array[activeInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesActiveSearchGet(status, start, supplierId, end, customerId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesActiveSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$status = status_example; // String | 
$start = start_example; // String | 
$supplierId = supplierId_example; // String | 
$end = end_example; // String | 
$customerId = customerId_example; // String | 

try {
    $result = $api_instance->v1InvoicesActiveSearchGet($status, $start, $supplierId, $end, $customerId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesActiveSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $status = status_example; # String | 
my $start = start_example; # String | 
my $supplierId = supplierId_example; # String | 
my $end = end_example; # String | 
my $customerId = customerId_example; # String | 

eval {
    my $result = $api_instance->v1InvoicesActiveSearchGet(status => $status, start => $start, supplierId => $supplierId, end => $end, customerId => $customerId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesActiveSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
status = status_example # String |  (default to null)
start = start_example # String |  (optional) (default to null)
supplierId = supplierId_example # String |  (optional) (default to null)
end = end_example # String |  (optional) (default to null)
customerId = customerId_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_invoices_active_search_get(status, start=start, supplierId=supplierId, end=end, customerId=customerId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesActiveSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let status = status_example; // String
    let start = start_example; // String
    let supplierId = supplierId_example; // String
    let end = end_example; // String
    let customerId = customerId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesActiveSearchGet(status, start, supplierId, end, customerId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
start
String
supplierId
String
status*
String
Required
end
String
customerId
String

Responses


v1InvoicesIdPrintGet


/v1/invoices/{id}/print

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/{id}/print?type=type_example&output=output_example&preview=preview_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String type = type_example; // String | 
        String output = output_example; // String | 
        String preview = preview_example; // String | 
        String id = id_example; // String | 

        try {
            base64String result = apiInstance.v1InvoicesIdPrintGet(type, output, preview, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesIdPrintGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String type = new String(); // String | 
final String output = new String(); // String | 
final String preview = new String(); // String | 
final String id = new String(); // String | 

try {
    final result = await api_instance.v1InvoicesIdPrintGet(type, output, preview, id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesIdPrintGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String type = type_example; // String | 
        String output = output_example; // String | 
        String preview = preview_example; // String | 
        String id = id_example; // String | 

        try {
            base64String result = apiInstance.v1InvoicesIdPrintGet(type, output, preview, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesIdPrintGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *type = type_example; //  (default to null)
String *output = output_example; //  (default to null)
String *preview = preview_example; //  (default to null)
String *id = id_example; //  (default to null)

[apiInstance v1InvoicesIdPrintGetWith:type
    output:output
    preview:preview
    id:id
              completionHandler: ^(base64String output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var type = type_example; // {String} 
var output = output_example; // {String} 
var preview = preview_example; // {String} 
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesIdPrintGet(type, output, preview, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesIdPrintGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var type = type_example;  // String |  (default to null)
            var output = output_example;  // String |  (default to null)
            var preview = preview_example;  // String |  (default to null)
            var id = id_example;  // String |  (default to null)

            try {
                base64String result = apiInstance.v1InvoicesIdPrintGet(type, output, preview, id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesIdPrintGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$type = type_example; // String | 
$output = output_example; // String | 
$preview = preview_example; // String | 
$id = id_example; // String | 

try {
    $result = $api_instance->v1InvoicesIdPrintGet($type, $output, $preview, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesIdPrintGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $type = type_example; # String | 
my $output = output_example; # String | 
my $preview = preview_example; # String | 
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1InvoicesIdPrintGet(type => $type, output => $output, preview => $preview, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesIdPrintGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
type = type_example # String |  (default to null)
output = output_example # String |  (default to null)
preview = preview_example # String |  (default to null)
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_invoices_id_print_get(type, output, preview, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesIdPrintGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let type = type_example; // String
    let output = output_example; // String
    let preview = preview_example; // String
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesIdPrintGet(type, output, preview, id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Query parameters
Name Description
type*
String
Required
output*
String
Required
preview*
String
Required

Responses


v1InvoicesPassiveGet


/v1/invoices/passive

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/passive"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[passiveInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesPassiveGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesPassiveGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1InvoicesPassiveGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesPassiveGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[passiveInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesPassiveGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesPassiveGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1InvoicesPassiveGetWithCompletionHandler: 
              ^(array[passiveInvoiceHeaderOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1InvoicesPassiveGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesPassiveGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[passiveInvoiceHeaderOutputArray_inner] result = apiInstance.v1InvoicesPassiveGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesPassiveGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1InvoicesPassiveGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesPassiveGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1InvoicesPassiveGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesPassiveGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_invoices_passive_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesPassiveGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesPassiveGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1InvoicesPassivePut


/v1/invoices/passive

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/invoices/passive" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        PassiveInvoiceHeaderInput passiveInvoiceHeaderInput = ; // PassiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesPassivePut(passiveInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesPassivePut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final PassiveInvoiceHeaderInput passiveInvoiceHeaderInput = new PassiveInvoiceHeaderInput(); // PassiveInvoiceHeaderInput | 

try {
    final result = await api_instance.v1InvoicesPassivePut(passiveInvoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1InvoicesPassivePut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        PassiveInvoiceHeaderInput passiveInvoiceHeaderInput = ; // PassiveInvoiceHeaderInput | 

        try {
            apiInstance.v1InvoicesPassivePut(passiveInvoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1InvoicesPassivePut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
PassiveInvoiceHeaderInput *passiveInvoiceHeaderInput = ; // 

[apiInstance v1InvoicesPassivePutWith:passiveInvoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var passiveInvoiceHeaderInput = ; // {PassiveInvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1InvoicesPassivePut(passiveInvoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1InvoicesPassivePutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var passiveInvoiceHeaderInput = new PassiveInvoiceHeaderInput(); // PassiveInvoiceHeaderInput | 

            try {
                apiInstance.v1InvoicesPassivePut(passiveInvoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1InvoicesPassivePut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$passiveInvoiceHeaderInput = ; // PassiveInvoiceHeaderInput | 

try {
    $api_instance->v1InvoicesPassivePut($passiveInvoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1InvoicesPassivePut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $passiveInvoiceHeaderInput = WWW::OPenAPIClient::Object::PassiveInvoiceHeaderInput->new(); # PassiveInvoiceHeaderInput | 

eval {
    $api_instance->v1InvoicesPassivePut(passiveInvoiceHeaderInput => $passiveInvoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1InvoicesPassivePut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
passiveInvoiceHeaderInput =  # PassiveInvoiceHeaderInput | 

try:
    api_instance.v1_invoices_passive_put(passiveInvoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1InvoicesPassivePut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let passiveInvoiceHeaderInput = ; // PassiveInvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1InvoicesPassivePut(passiveInvoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
passiveInvoiceHeaderInput *

Responses


v1ManagersAccountsStatementsGet


/v1/managers/accounts/statements

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/accounts/statements?supplier_id=supplierId_example&start_datetime=startDatetime_example&end_datetime=endDatetime_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 
        String startDatetime = startDatetime_example; // String | 
        String endDatetime = endDatetime_example; // String | 

        try {
            array[getManagersAccountsStatementsOutputArray_inner] result = apiInstance.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersAccountsStatementsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String supplierId = new String(); // String | 
final String startDatetime = new String(); // String | 
final String endDatetime = new String(); // String | 

try {
    final result = await api_instance.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersAccountsStatementsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 
        String startDatetime = startDatetime_example; // String | 
        String endDatetime = endDatetime_example; // String | 

        try {
            array[getManagersAccountsStatementsOutputArray_inner] result = apiInstance.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersAccountsStatementsGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *supplierId = supplierId_example; //  (default to null)
String *startDatetime = startDatetime_example; //  (default to null)
String *endDatetime = endDatetime_example; //  (default to null)

// 
[apiInstance v1ManagersAccountsStatementsGetWith:supplierId
    startDatetime:startDatetime
    endDatetime:endDatetime
              completionHandler: ^(array[getManagersAccountsStatementsOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var supplierId = supplierId_example; // {String} 
var startDatetime = startDatetime_example; // {String} 
var endDatetime = endDatetime_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersAccountsStatementsGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String |  (default to null)
            var startDatetime = startDatetime_example;  // String |  (default to null)
            var endDatetime = endDatetime_example;  // String |  (default to null)

            try {
                // 
                array[getManagersAccountsStatementsOutputArray_inner] result = apiInstance.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersAccountsStatementsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | 
$startDatetime = startDatetime_example; // String | 
$endDatetime = endDatetime_example; // String | 

try {
    $result = $api_instance->v1ManagersAccountsStatementsGet($supplierId, $startDatetime, $endDatetime);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersAccountsStatementsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | 
my $startDatetime = startDatetime_example; # String | 
my $endDatetime = endDatetime_example; # String | 

eval {
    my $result = $api_instance->v1ManagersAccountsStatementsGet(supplierId => $supplierId, startDatetime => $startDatetime, endDatetime => $endDatetime);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersAccountsStatementsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierId = supplierId_example # String |  (default to null)
startDatetime = startDatetime_example # String |  (default to null)
endDatetime = endDatetime_example # String |  (default to null)

try:
    # 
    api_response = api_instance.v1_managers_accounts_statements_get(supplierId, startDatetime, endDatetime)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersAccountsStatementsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierId = supplierId_example; // String
    let startDatetime = startDatetime_example; // String
    let endDatetime = endDatetime_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersAccountsStatementsGet(supplierId, startDatetime, endDatetime, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
supplier_id*
String
Required
start_datetime*
String
Required
end_datetime*
String
Required

Responses


v1ManagersFuelstationsFuelstationIdArticlesGet


/v1/managers/fuelstations/{fuelstation_id}/articles

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/fuelstations/{fuelstation_id}/articles"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 

        try {
            array[getManagersFuelstationsArticlesOutputArray_inner] result = apiInstance.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersFuelstationsFuelstationIdArticlesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelstationId = new String(); // String | 

try {
    final result = await api_instance.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 

        try {
            array[getManagersFuelstationsArticlesOutputArray_inner] result = apiInstance.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersFuelstationsFuelstationIdArticlesGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelstationId = fuelstationId_example; //  (default to null)

// 
[apiInstance v1ManagersFuelstationsFuelstationIdArticlesGetWith:fuelstationId
              completionHandler: ^(array[getManagersFuelstationsArticlesOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelstationId = fuelstationId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersFuelstationsFuelstationIdArticlesGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelstationId = fuelstationId_example;  // String |  (default to null)

            try {
                // 
                array[getManagersFuelstationsArticlesOutputArray_inner] result = apiInstance.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersFuelstationsFuelstationIdArticlesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelstationId = fuelstationId_example; // String | 

try {
    $result = $api_instance->v1ManagersFuelstationsFuelstationIdArticlesGet($fuelstationId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelstationId = fuelstationId_example; # String | 

eval {
    my $result = $api_instance->v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId => $fuelstationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelstationId = fuelstationId_example # String |  (default to null)

try:
    # 
    api_response = api_instance.v1_managers_fuelstations_fuelstation_id_articles_get(fuelstationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelstationId = fuelstationId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersFuelstationsFuelstationIdArticlesGet(fuelstationId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
fuelstation_id*
String
Required

Responses


v1ManagersFuelstationsFuelstationIdArticlesPost


/v1/managers/fuelstations/{fuelstation_id}/articles

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/fuelstations/{fuelstation_id}/articles" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 
        UpsertManagerFuelstationArticles upsertManagerFuelstationArticles = ; // UpsertManagerFuelstationArticles | 

        try {
            apiInstance.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, upsertManagerFuelstationArticles);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersFuelstationsFuelstationIdArticlesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelstationId = new String(); // String | 
final UpsertManagerFuelstationArticles upsertManagerFuelstationArticles = new UpsertManagerFuelstationArticles(); // UpsertManagerFuelstationArticles | 

try {
    final result = await api_instance.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, upsertManagerFuelstationArticles);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 
        UpsertManagerFuelstationArticles upsertManagerFuelstationArticles = ; // UpsertManagerFuelstationArticles | 

        try {
            apiInstance.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, upsertManagerFuelstationArticles);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersFuelstationsFuelstationIdArticlesPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelstationId = fuelstationId_example; //  (default to null)
UpsertManagerFuelstationArticles *upsertManagerFuelstationArticles = ; //  (optional)

// 
[apiInstance v1ManagersFuelstationsFuelstationIdArticlesPostWith:fuelstationId
    upsertManagerFuelstationArticles:upsertManagerFuelstationArticles
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelstationId = fuelstationId_example; // {String} 
var opts = {
  'upsertManagerFuelstationArticles':  // {UpsertManagerFuelstationArticles} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersFuelstationsFuelstationIdArticlesPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelstationId = fuelstationId_example;  // String |  (default to null)
            var upsertManagerFuelstationArticles = new UpsertManagerFuelstationArticles(); // UpsertManagerFuelstationArticles |  (optional) 

            try {
                // 
                apiInstance.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, upsertManagerFuelstationArticles);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersFuelstationsFuelstationIdArticlesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelstationId = fuelstationId_example; // String | 
$upsertManagerFuelstationArticles = ; // UpsertManagerFuelstationArticles | 

try {
    $api_instance->v1ManagersFuelstationsFuelstationIdArticlesPost($fuelstationId, $upsertManagerFuelstationArticles);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelstationId = fuelstationId_example; # String | 
my $upsertManagerFuelstationArticles = WWW::OPenAPIClient::Object::UpsertManagerFuelstationArticles->new(); # UpsertManagerFuelstationArticles | 

eval {
    $api_instance->v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId => $fuelstationId, upsertManagerFuelstationArticles => $upsertManagerFuelstationArticles);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelstationId = fuelstationId_example # String |  (default to null)
upsertManagerFuelstationArticles =  # UpsertManagerFuelstationArticles |  (optional)

try:
    # 
    api_instance.v1_managers_fuelstations_fuelstation_id_articles_post(fuelstationId, upsertManagerFuelstationArticles=upsertManagerFuelstationArticles)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersFuelstationsFuelstationIdArticlesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelstationId = fuelstationId_example; // String
    let upsertManagerFuelstationArticles = ; // UpsertManagerFuelstationArticles

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersFuelstationsFuelstationIdArticlesPost(fuelstationId, upsertManagerFuelstationArticles, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
fuelstation_id*
String
Required
Body parameters
Name Description
upsertManagerFuelstationArticles

Responses


v1ManagersIdFuelstationsGet


/v1/managers/{id}/fuelstations

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/{id}/fuelstations"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

        try {
            array[getManagersFuelstationsOutputArray_inner] result = apiInstance.v1ManagersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 

try {
    final result = await api_instance.v1ManagersIdFuelstationsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersIdFuelstationsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 

        try {
            array[getManagersFuelstationsOutputArray_inner] result = apiInstance.v1ManagersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)

// 
[apiInstance v1ManagersIdFuelstationsGetWith:id
              completionHandler: ^(array[getManagersFuelstationsOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = 56; // {Integer} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ManagersIdFuelstationsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersIdFuelstationsGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)

            try {
                // 
                array[getManagersFuelstationsOutputArray_inner] result = apiInstance.v1ManagersIdFuelstationsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersIdFuelstationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 

try {
    $result = $api_instance->v1ManagersIdFuelstationsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersIdFuelstationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | 

eval {
    my $result = $api_instance->v1ManagersIdFuelstationsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersIdFuelstationsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer |  (default to null)

try:
    # 
    api_response = api_instance.v1_managers_id_fuelstations_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersIdFuelstationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersIdFuelstationsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer
Required

Responses


v1ManagersIdFuelstationsPost


/v1/managers/{id}/fuelstations

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/{id}/fuelstations" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        UpsertManagerFuelstations upsertManagerFuelstations = ; // UpsertManagerFuelstations | 

        try {
            apiInstance.v1ManagersIdFuelstationsPost(id, upsertManagerFuelstations);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdFuelstationsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final Integer id = new Integer(); // Integer | 
final UpsertManagerFuelstations upsertManagerFuelstations = new UpsertManagerFuelstations(); // UpsertManagerFuelstations | 

try {
    final result = await api_instance.v1ManagersIdFuelstationsPost(id, upsertManagerFuelstations);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersIdFuelstationsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        Integer id = 56; // Integer | 
        UpsertManagerFuelstations upsertManagerFuelstations = ; // UpsertManagerFuelstations | 

        try {
            apiInstance.v1ManagersIdFuelstationsPost(id, upsertManagerFuelstations);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdFuelstationsPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
Integer *id = 56; //  (default to null)
UpsertManagerFuelstations *upsertManagerFuelstations = ; //  (optional)

// 
[apiInstance v1ManagersIdFuelstationsPostWith:id
    upsertManagerFuelstations:upsertManagerFuelstations
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = 56; // {Integer} 
var opts = {
  'upsertManagerFuelstations':  // {UpsertManagerFuelstations} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ManagersIdFuelstationsPost(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersIdFuelstationsPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = 56;  // Integer |  (default to null)
            var upsertManagerFuelstations = new UpsertManagerFuelstations(); // UpsertManagerFuelstations |  (optional) 

            try {
                // 
                apiInstance.v1ManagersIdFuelstationsPost(id, upsertManagerFuelstations);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersIdFuelstationsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = 56; // Integer | 
$upsertManagerFuelstations = ; // UpsertManagerFuelstations | 

try {
    $api_instance->v1ManagersIdFuelstationsPost($id, $upsertManagerFuelstations);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersIdFuelstationsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = 56; # Integer | 
my $upsertManagerFuelstations = WWW::OPenAPIClient::Object::UpsertManagerFuelstations->new(); # UpsertManagerFuelstations | 

eval {
    $api_instance->v1ManagersIdFuelstationsPost(id => $id, upsertManagerFuelstations => $upsertManagerFuelstations);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersIdFuelstationsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = 56 # Integer |  (default to null)
upsertManagerFuelstations =  # UpsertManagerFuelstations |  (optional)

try:
    # 
    api_instance.v1_managers_id_fuelstations_post(id, upsertManagerFuelstations=upsertManagerFuelstations)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersIdFuelstationsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = 56; // Integer
    let upsertManagerFuelstations = ; // UpsertManagerFuelstations

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersIdFuelstationsPost(id, upsertManagerFuelstations, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
Integer
Required
Body parameters
Name Description
upsertManagerFuelstations

Responses


v1ManagersIdGet


/v1/managers/{id}

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[getManagersOutputArray_inner] result = apiInstance.v1ManagersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1ManagersIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[getManagersOutputArray_inner] result = apiInstance.v1ManagersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersIdGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

// 
[apiInstance v1ManagersIdGetWith:id
              completionHandler: ^(array[getManagersOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ManagersIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersIdGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                // 
                array[getManagersOutputArray_inner] result = apiInstance.v1ManagersIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1ManagersIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1ManagersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    # 
    api_response = api_instance.v1_managers_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1ManagersPost


/v1/managers

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/managers" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UpsertManagers upsertManagers = ; // UpsertManagers | 

        try {
            apiInstance.v1ManagersPost(upsertManagers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UpsertManagers upsertManagers = new UpsertManagers(); // UpsertManagers | 

try {
    final result = await api_instance.v1ManagersPost(upsertManagers);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ManagersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UpsertManagers upsertManagers = ; // UpsertManagers | 

        try {
            apiInstance.v1ManagersPost(upsertManagers);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ManagersPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UpsertManagers *upsertManagers = ; //  (optional)

// 
[apiInstance v1ManagersPostWith:upsertManagers
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'upsertManagers':  // {UpsertManagers} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ManagersPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ManagersPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var upsertManagers = new UpsertManagers(); // UpsertManagers |  (optional) 

            try {
                // 
                apiInstance.v1ManagersPost(upsertManagers);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ManagersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$upsertManagers = ; // UpsertManagers | 

try {
    $api_instance->v1ManagersPost($upsertManagers);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ManagersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $upsertManagers = WWW::OPenAPIClient::Object::UpsertManagers->new(); # UpsertManagers | 

eval {
    $api_instance->v1ManagersPost(upsertManagers => $upsertManagers);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ManagersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
upsertManagers =  # UpsertManagers |  (optional)

try:
    # 
    api_instance.v1_managers_post(upsertManagers=upsertManagers)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ManagersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let upsertManagers = ; // UpsertManagers

    let mut context = DefaultApi::Context::default();
    let result = client.v1ManagersPost(upsertManagers, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
upsertManagers

Responses


v1MobilepaymentsFuelstationsIdMapGet


/v1/mobilepayments/fuelstations/{id}/map

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/mobilepayments/fuelstations/{id}/map"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdMapGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsFuelstationsIdMapGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1MobilepaymentsFuelstationsIdMapGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdMapGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdMapGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsFuelstationsIdMapGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1MobilepaymentsFuelstationsIdMapGetWith:id
              completionHandler: ^(fuelStationMapOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1MobilepaymentsFuelstationsIdMapGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1MobilepaymentsFuelstationsIdMapGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdMapGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1MobilepaymentsFuelstationsIdMapGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1MobilepaymentsFuelstationsIdMapGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdMapGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1MobilepaymentsFuelstationsIdMapGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdMapGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_mobilepayments_fuelstations_id_map_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdMapGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1MobilepaymentsFuelstationsIdMapGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1MobilepaymentsFuelstationsIdPumpGet


/v1/mobilepayments/fuelstations/{id}/pump

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/mobilepayments/fuelstations/{id}/pump?pump_id=pumpId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String pumpId = pumpId_example; // String | 
        String id = id_example; // String | 

        try {
            fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsFuelstationsIdPumpGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String pumpId = new String(); // String | 
final String id = new String(); // String | 

try {
    final result = await api_instance.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdPumpGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String pumpId = pumpId_example; // String | 
        String id = id_example; // String | 

        try {
            fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsFuelstationsIdPumpGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *pumpId = pumpId_example; //  (default to null)
String *id = id_example; //  (default to null)

[apiInstance v1MobilepaymentsFuelstationsIdPumpGetWith:pumpId
    id:id
              completionHandler: ^(fuelStationMapOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var pumpId = pumpId_example; // {String} 
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1MobilepaymentsFuelstationsIdPumpGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var pumpId = pumpId_example;  // String |  (default to null)
            var id = id_example;  // String |  (default to null)

            try {
                fuelStationMapOutput result = apiInstance.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1MobilepaymentsFuelstationsIdPumpGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$pumpId = pumpId_example; // String | 
$id = id_example; // String | 

try {
    $result = $api_instance->v1MobilepaymentsFuelstationsIdPumpGet($pumpId, $id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdPumpGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $pumpId = pumpId_example; # String | 
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1MobilepaymentsFuelstationsIdPumpGet(pumpId => $pumpId, id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdPumpGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
pumpId = pumpId_example # String |  (default to null)
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_mobilepayments_fuelstations_id_pump_get(pumpId, id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1MobilepaymentsFuelstationsIdPumpGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let pumpId = pumpId_example; // String
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1MobilepaymentsFuelstationsIdPumpGet(pumpId, id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Query parameters
Name Description
pump_id*
String
Required

Responses


v1MobilepaymentsTransactionsEnablePost


/v1/mobilepayments/transactions/enable

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/mobilepayments/transactions/enable" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        EnableFuelingOutput enableFuelingOutput = ; // EnableFuelingOutput | 

        try {
            apiInstance.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsTransactionsEnablePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final EnableFuelingOutput enableFuelingOutput = new EnableFuelingOutput(); // EnableFuelingOutput | 

try {
    final result = await api_instance.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1MobilepaymentsTransactionsEnablePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        EnableFuelingOutput enableFuelingOutput = ; // EnableFuelingOutput | 

        try {
            apiInstance.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1MobilepaymentsTransactionsEnablePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
EnableFuelingOutput *enableFuelingOutput = ; // 

[apiInstance v1MobilepaymentsTransactionsEnablePostWith:enableFuelingOutput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var enableFuelingOutput = ; // {EnableFuelingOutput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1MobilepaymentsTransactionsEnablePostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var enableFuelingOutput = new EnableFuelingOutput(); // EnableFuelingOutput | 

            try {
                apiInstance.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1MobilepaymentsTransactionsEnablePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$enableFuelingOutput = ; // EnableFuelingOutput | 

try {
    $api_instance->v1MobilepaymentsTransactionsEnablePost($enableFuelingOutput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1MobilepaymentsTransactionsEnablePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $enableFuelingOutput = WWW::OPenAPIClient::Object::EnableFuelingOutput->new(); # EnableFuelingOutput | 

eval {
    $api_instance->v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput => $enableFuelingOutput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1MobilepaymentsTransactionsEnablePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
enableFuelingOutput =  # EnableFuelingOutput | 

try:
    api_instance.v1_mobilepayments_transactions_enable_post(enableFuelingOutput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1MobilepaymentsTransactionsEnablePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let enableFuelingOutput = ; // EnableFuelingOutput

    let mut context = DefaultApi::Context::default();
    let result = client.v1MobilepaymentsTransactionsEnablePost(enableFuelingOutput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
enableFuelingOutput *

Responses


v1PaymentsModesGet


/v1/payments/modes

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/payments/modes"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentModeOutputArray_inner] result = apiInstance.v1PaymentsModesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsModesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1PaymentsModesGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PaymentsModesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentModeOutputArray_inner] result = apiInstance.v1PaymentsModesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsModesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1PaymentsModesGetWithCompletionHandler: 
              ^(array[paymentModeOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PaymentsModesGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PaymentsModesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[paymentModeOutputArray_inner] result = apiInstance.v1PaymentsModesGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PaymentsModesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1PaymentsModesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PaymentsModesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1PaymentsModesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PaymentsModesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_payments_modes_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PaymentsModesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1PaymentsModesGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1PaymentsPeriodicitiesGet


/v1/payments/periodicities

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/payments/periodicities"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentPeriodicityOutputArray_inner] result = apiInstance.v1PaymentsPeriodicitiesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsPeriodicitiesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1PaymentsPeriodicitiesGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PaymentsPeriodicitiesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentPeriodicityOutputArray_inner] result = apiInstance.v1PaymentsPeriodicitiesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsPeriodicitiesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1PaymentsPeriodicitiesGetWithCompletionHandler: 
              ^(array[paymentPeriodicityOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PaymentsPeriodicitiesGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PaymentsPeriodicitiesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[paymentPeriodicityOutputArray_inner] result = apiInstance.v1PaymentsPeriodicitiesGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PaymentsPeriodicitiesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1PaymentsPeriodicitiesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PaymentsPeriodicitiesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1PaymentsPeriodicitiesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PaymentsPeriodicitiesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_payments_periodicities_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PaymentsPeriodicitiesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1PaymentsPeriodicitiesGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1PaymentsTermsGet

Get user payment terms


/v1/payments/terms

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/payments/terms"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentTermsOutputArray_inner] result = apiInstance.v1PaymentsTermsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsTermsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1PaymentsTermsGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1PaymentsTermsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[paymentTermsOutputArray_inner] result = apiInstance.v1PaymentsTermsGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1PaymentsTermsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1PaymentsTermsGetWithCompletionHandler: 
              ^(array[paymentTermsOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1PaymentsTermsGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1PaymentsTermsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[paymentTermsOutputArray_inner] result = apiInstance.v1PaymentsTermsGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1PaymentsTermsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1PaymentsTermsGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1PaymentsTermsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1PaymentsTermsGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1PaymentsTermsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_payments_terms_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1PaymentsTermsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1PaymentsTermsGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1ProductfamiliesGet


/v1/productfamilies

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/productfamilies"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[productFamilyOutputArray_inner] result = apiInstance.v1ProductfamiliesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProductfamiliesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1ProductfamiliesGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProductfamiliesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[productFamilyOutputArray_inner] result = apiInstance.v1ProductfamiliesGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProductfamiliesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1ProductfamiliesGetWithCompletionHandler: 
              ^(array[productFamilyOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ProductfamiliesGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProductfamiliesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[productFamilyOutputArray_inner] result = apiInstance.v1ProductfamiliesGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProductfamiliesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1ProductfamiliesGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProductfamiliesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1ProductfamiliesGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProductfamiliesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_productfamilies_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProductfamiliesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProductfamiliesGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1ProductfamiliesPost


/v1/productfamilies

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/productfamilies" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ProductFamilyInput productFamilyInput = ; // ProductFamilyInput | 

        try {
            apiInstance.v1ProductfamiliesPost(productFamilyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProductfamiliesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ProductFamilyInput productFamilyInput = new ProductFamilyInput(); // ProductFamilyInput | 

try {
    final result = await api_instance.v1ProductfamiliesPost(productFamilyInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProductfamiliesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ProductFamilyInput productFamilyInput = ; // ProductFamilyInput | 

        try {
            apiInstance.v1ProductfamiliesPost(productFamilyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProductfamiliesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ProductFamilyInput *productFamilyInput = ; // 

[apiInstance v1ProductfamiliesPostWith:productFamilyInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var productFamilyInput = ; // {ProductFamilyInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ProductfamiliesPost(productFamilyInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProductfamiliesPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var productFamilyInput = new ProductFamilyInput(); // ProductFamilyInput | 

            try {
                apiInstance.v1ProductfamiliesPost(productFamilyInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProductfamiliesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$productFamilyInput = ; // ProductFamilyInput | 

try {
    $api_instance->v1ProductfamiliesPost($productFamilyInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProductfamiliesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $productFamilyInput = WWW::OPenAPIClient::Object::ProductFamilyInput->new(); # ProductFamilyInput | 

eval {
    $api_instance->v1ProductfamiliesPost(productFamilyInput => $productFamilyInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProductfamiliesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
productFamilyInput =  # ProductFamilyInput | 

try:
    api_instance.v1_productfamilies_post(productFamilyInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProductfamiliesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let productFamilyInput = ; // ProductFamilyInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProductfamiliesPost(productFamilyInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
productFamilyInput *

Responses


v1ProtocolsIdDelete


/v1/protocols/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/protocols/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1ProtocolsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1ProtocolsIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProtocolsIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1ProtocolsIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1ProtocolsIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ProtocolsIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProtocolsIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1ProtocolsIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProtocolsIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1ProtocolsIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProtocolsIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1ProtocolsIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProtocolsIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_protocols_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProtocolsIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProtocolsIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1ProtocolsIdPut


/v1/protocols/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/protocols/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ProtocolInput protocolInput = ; // ProtocolInput | 

        try {
            apiInstance.v1ProtocolsIdPut(id, protocolInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final ProtocolInput protocolInput = new ProtocolInput(); // ProtocolInput | 

try {
    final result = await api_instance.v1ProtocolsIdPut(id, protocolInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProtocolsIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        ProtocolInput protocolInput = ; // ProtocolInput | 

        try {
            apiInstance.v1ProtocolsIdPut(id, protocolInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
ProtocolInput *protocolInput = ; // 

[apiInstance v1ProtocolsIdPutWith:id
    protocolInput:protocolInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var protocolInput = ; // {ProtocolInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ProtocolsIdPut(id, protocolInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProtocolsIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var protocolInput = new ProtocolInput(); // ProtocolInput | 

            try {
                apiInstance.v1ProtocolsIdPut(id, protocolInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProtocolsIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$protocolInput = ; // ProtocolInput | 

try {
    $api_instance->v1ProtocolsIdPut($id, $protocolInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProtocolsIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $protocolInput = WWW::OPenAPIClient::Object::ProtocolInput->new(); # ProtocolInput | 

eval {
    $api_instance->v1ProtocolsIdPut(id => $id, protocolInput => $protocolInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProtocolsIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
protocolInput =  # ProtocolInput | 

try:
    api_instance.v1_protocols_id_put(id, protocolInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProtocolsIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let protocolInput = ; // ProtocolInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProtocolsIdPut(id, protocolInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
protocolInput *

Responses


v1ProtocolsPost


/v1/protocols

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/protocols" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ProtocolInput protocolInput = ; // ProtocolInput | 

        try {
            apiInstance.v1ProtocolsPost(protocolInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ProtocolInput protocolInput = new ProtocolInput(); // ProtocolInput | 

try {
    final result = await api_instance.v1ProtocolsPost(protocolInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ProtocolsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ProtocolInput protocolInput = ; // ProtocolInput | 

        try {
            apiInstance.v1ProtocolsPost(protocolInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ProtocolsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ProtocolInput *protocolInput = ; // 

[apiInstance v1ProtocolsPostWith:protocolInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var protocolInput = ; // {ProtocolInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1ProtocolsPost(protocolInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ProtocolsPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var protocolInput = new ProtocolInput(); // ProtocolInput | 

            try {
                apiInstance.v1ProtocolsPost(protocolInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ProtocolsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$protocolInput = ; // ProtocolInput | 

try {
    $api_instance->v1ProtocolsPost($protocolInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ProtocolsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $protocolInput = WWW::OPenAPIClient::Object::ProtocolInput->new(); # ProtocolInput | 

eval {
    $api_instance->v1ProtocolsPost(protocolInput => $protocolInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ProtocolsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
protocolInput =  # ProtocolInput | 

try:
    api_instance.v1_protocols_post(protocolInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ProtocolsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let protocolInput = ; // ProtocolInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1ProtocolsPost(protocolInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
protocolInput *

Responses


v1ResiduesCardsGet


/v1/residues/cards

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/residues/cards?type_id=typeId_example&card_id=cardId_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String typeId = typeId_example; // String | 
        String cardId = cardId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            residueCardsOutput result = apiInstance.v1ResiduesCardsGet(typeId, cardId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesCardsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String typeId = new String(); // String | 
final String cardId = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1ResiduesCardsGet(typeId, cardId, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ResiduesCardsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String typeId = typeId_example; // String | 
        String cardId = cardId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            residueCardsOutput result = apiInstance.v1ResiduesCardsGet(typeId, cardId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesCardsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *typeId = typeId_example; //  (default to null)
String *cardId = cardId_example; //  (default to null)
String *supplierId = supplierId_example; //  (default to null)

[apiInstance v1ResiduesCardsGetWith:typeId
    cardId:cardId
    supplierId:supplierId
              completionHandler: ^(residueCardsOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var typeId = typeId_example; // {String} 
var cardId = cardId_example; // {String} 
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ResiduesCardsGet(typeId, cardId, supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ResiduesCardsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var typeId = typeId_example;  // String |  (default to null)
            var cardId = cardId_example;  // String |  (default to null)
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                residueCardsOutput result = apiInstance.v1ResiduesCardsGet(typeId, cardId, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ResiduesCardsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$typeId = typeId_example; // String | 
$cardId = cardId_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1ResiduesCardsGet($typeId, $cardId, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ResiduesCardsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $typeId = typeId_example; # String | 
my $cardId = cardId_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1ResiduesCardsGet(typeId => $typeId, cardId => $cardId, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ResiduesCardsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
typeId = typeId_example # String |  (default to null)
cardId = cardId_example # String |  (default to null)
supplierId = supplierId_example # String |  (default to null)

try:
    api_response = api_instance.v1_residues_cards_get(typeId, cardId, supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ResiduesCardsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let typeId = typeId_example; // String
    let cardId = cardId_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ResiduesCardsGet(typeId, cardId, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
type_id*
String
Required
card_id*
String
Required
supplier_id*
String
Required

Responses


v1ResiduesCustomersGet


/v1/residues/customers

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/residues/customers?customer_id=customerId_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[residueCustomersOutput_inner] result = apiInstance.v1ResiduesCustomersGet(customerId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesCustomersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String customerId = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1ResiduesCustomersGet(customerId, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ResiduesCustomersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String customerId = customerId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[residueCustomersOutput_inner] result = apiInstance.v1ResiduesCustomersGet(customerId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesCustomersGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *customerId = customerId_example; //  (default to null)
String *supplierId = supplierId_example; //  (default to null)

[apiInstance v1ResiduesCustomersGetWith:customerId
    supplierId:supplierId
              completionHandler: ^(array[residueCustomersOutput_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var customerId = customerId_example; // {String} 
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ResiduesCustomersGet(customerId, supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ResiduesCustomersGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var customerId = customerId_example;  // String |  (default to null)
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                array[residueCustomersOutput_inner] result = apiInstance.v1ResiduesCustomersGet(customerId, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ResiduesCustomersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$customerId = customerId_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1ResiduesCustomersGet($customerId, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ResiduesCustomersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $customerId = customerId_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1ResiduesCustomersGet(customerId => $customerId, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ResiduesCustomersGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
customerId = customerId_example # String |  (default to null)
supplierId = supplierId_example # String |  (default to null)

try:
    api_response = api_instance.v1_residues_customers_get(customerId, supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ResiduesCustomersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let customerId = customerId_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ResiduesCustomersGet(customerId, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
customer_id*
String
Required
supplier_id*
String
Required

Responses


v1ResiduesFuelcouponsGet

Get fuel coupons residues


/v1/residues/fuelcoupons

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/residues/fuelcoupons?fuelcoupon_id=fuelcouponId_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelcouponId = fuelcouponId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            residueFuelCouponsOutput result = apiInstance.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesFuelcouponsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelcouponId = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ResiduesFuelcouponsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelcouponId = fuelcouponId_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            residueFuelCouponsOutput result = apiInstance.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesFuelcouponsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelcouponId = fuelcouponId_example; //  (default to null)
String *supplierId = supplierId_example; //  (default to null)

[apiInstance v1ResiduesFuelcouponsGetWith:fuelcouponId
    supplierId:supplierId
              completionHandler: ^(residueFuelCouponsOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelcouponId = fuelcouponId_example; // {String} 
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ResiduesFuelcouponsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelcouponId = fuelcouponId_example;  // String |  (default to null)
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                residueFuelCouponsOutput result = apiInstance.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ResiduesFuelcouponsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelcouponId = fuelcouponId_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1ResiduesFuelcouponsGet($fuelcouponId, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ResiduesFuelcouponsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelcouponId = fuelcouponId_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1ResiduesFuelcouponsGet(fuelcouponId => $fuelcouponId, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ResiduesFuelcouponsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelcouponId = fuelcouponId_example # String |  (default to null)
supplierId = supplierId_example # String |  (default to null)

try:
    api_response = api_instance.v1_residues_fuelcoupons_get(fuelcouponId, supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ResiduesFuelcouponsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelcouponId = fuelcouponId_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ResiduesFuelcouponsGet(fuelcouponId, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fuelcoupon_id*
String
Required
supplier_id*
String
Required

Responses


v1ResiduesLogGet


/v1/residues/log

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/residues/log?start=start_example&end=end_example&supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String start = start_example; // String | 
        String end = end_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[residueLogOutputArray_inner] result = apiInstance.v1ResiduesLogGet(start, end, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesLogGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String start = new String(); // String | 
final String end = new String(); // String | 
final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1ResiduesLogGet(start, end, supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1ResiduesLogGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String start = start_example; // String | 
        String end = end_example; // String | 
        String supplierId = supplierId_example; // String | 

        try {
            array[residueLogOutputArray_inner] result = apiInstance.v1ResiduesLogGet(start, end, supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1ResiduesLogGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *start = start_example; //  (default to null)
String *end = end_example; //  (default to null)
String *supplierId = supplierId_example; //  (default to null)

[apiInstance v1ResiduesLogGetWith:start
    end:end
    supplierId:supplierId
              completionHandler: ^(array[residueLogOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var start = start_example; // {String} 
var end = end_example; // {String} 
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1ResiduesLogGet(start, end, supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1ResiduesLogGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var start = start_example;  // String |  (default to null)
            var end = end_example;  // String |  (default to null)
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                array[residueLogOutputArray_inner] result = apiInstance.v1ResiduesLogGet(start, end, supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1ResiduesLogGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$start = start_example; // String | 
$end = end_example; // String | 
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1ResiduesLogGet($start, $end, $supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1ResiduesLogGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $start = start_example; # String | 
my $end = end_example; # String | 
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1ResiduesLogGet(start => $start, end => $end, supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1ResiduesLogGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
start = start_example # String |  (default to null)
end = end_example # String |  (default to null)
supplierId = supplierId_example # String |  (default to null)

try:
    api_response = api_instance.v1_residues_log_get(start, end, supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1ResiduesLogGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let start = start_example; // String
    let end = end_example; // String
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1ResiduesLogGet(start, end, supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
start*
String
Required
end*
String
Required
supplier_id*
String
Required

Responses


v1SelfnetHomeGet


/v1/selfnet/home

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/selfnet/home"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            userOutput result = apiInstance.v1SelfnetHomeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SelfnetHomeGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1SelfnetHomeGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SelfnetHomeGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            userOutput result = apiInstance.v1SelfnetHomeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SelfnetHomeGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1SelfnetHomeGetWithCompletionHandler: 
              ^(userOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SelfnetHomeGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SelfnetHomeGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                userOutput result = apiInstance.v1SelfnetHomeGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SelfnetHomeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1SelfnetHomeGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SelfnetHomeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1SelfnetHomeGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SelfnetHomeGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_selfnet_home_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SelfnetHomeGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1SelfnetHomeGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1SuppliersGet


/v1/suppliers

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[supplierOutputArray_inner] result = apiInstance.v1SuppliersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1SuppliersGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[supplierOutputArray_inner] result = apiInstance.v1SuppliersGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1SuppliersGetWithCompletionHandler: 
              ^(array[supplierOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[supplierOutputArray_inner] result = apiInstance.v1SuppliersGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1SuppliersGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1SuppliersGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_suppliers_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1SuppliersIdCardsGet


/v1/suppliers/{id}/cards

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/cards"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[cardOutputArray_inner] result = apiInstance.v1SuppliersIdCardsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdCardsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdCardsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdCardsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[cardOutputArray_inner] result = apiInstance.v1SuppliersIdCardsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdCardsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1SuppliersIdCardsGetWith:id
              completionHandler: ^(array[cardOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdCardsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdCardsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[cardOutputArray_inner] result = apiInstance.v1SuppliersIdCardsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdCardsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdCardsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdCardsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdCardsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdCardsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_suppliers_id_cards_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdCardsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdCardsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdCategoriesGet


/v1/suppliers/{id}/categories

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/categories"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[categoryOutputArray_inner] result = apiInstance.v1SuppliersIdCategoriesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdCategoriesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdCategoriesGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdCategoriesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[categoryOutputArray_inner] result = apiInstance.v1SuppliersIdCategoriesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdCategoriesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1SuppliersIdCategoriesGetWith:id
              completionHandler: ^(array[categoryOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdCategoriesGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdCategoriesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[categoryOutputArray_inner] result = apiInstance.v1SuppliersIdCategoriesGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdCategoriesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdCategoriesGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdCategoriesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdCategoriesGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdCategoriesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_suppliers_id_categories_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdCategoriesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdCategoriesGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdFuelstationsGet


/v1/suppliers/{id}/fuelstations

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/fuelstations"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1SuppliersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdFuelstationsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdFuelstationsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1SuppliersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1SuppliersIdFuelstationsGetWith:id
              completionHandler: ^(array[fuelStationOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdFuelstationsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdFuelstationsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[fuelStationOutputArray_inner] result = apiInstance.v1SuppliersIdFuelstationsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdFuelstationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdFuelstationsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdFuelstationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdFuelstationsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdFuelstationsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_suppliers_id_fuelstations_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdFuelstationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdFuelstationsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdGet


/v1/suppliers/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            supplierOutput result = apiInstance.v1SuppliersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            supplierOutput result = apiInstance.v1SuppliersIdGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

// 
[apiInstance v1SuppliersIdGetWith:id
              completionHandler: ^(supplierOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                // 
                supplierOutput result = apiInstance.v1SuppliersIdGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    # 
    api_response = api_instance.v1_suppliers_id_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdInvoiceheadersGet


/v1/suppliers/{id}/invoiceheaders

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/invoiceheaders"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1SuppliersIdInvoiceheadersGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdInvoiceheadersGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdInvoiceheadersGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            invoiceHeaderOutput result = apiInstance.v1SuppliersIdInvoiceheadersGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdInvoiceheadersGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1SuppliersIdInvoiceheadersGetWith:id
              completionHandler: ^(invoiceHeaderOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdInvoiceheadersGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdInvoiceheadersGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                invoiceHeaderOutput result = apiInstance.v1SuppliersIdInvoiceheadersGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdInvoiceheadersGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdInvoiceheadersGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdInvoiceheadersGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_suppliers_id_invoiceheaders_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdInvoiceheadersGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdInvoiceheadersPost


/v1/suppliers/{id}/invoiceheaders

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/invoiceheaders" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdInvoiceheadersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final InvoiceHeaderInput invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

try {
    final result = await api_instance.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        InvoiceHeaderInput invoiceHeaderInput = ; // InvoiceHeaderInput | 

        try {
            apiInstance.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdInvoiceheadersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
InvoiceHeaderInput *invoiceHeaderInput = ; // 

[apiInstance v1SuppliersIdInvoiceheadersPostWith:id
    invoiceHeaderInput:invoiceHeaderInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var invoiceHeaderInput = ; // {InvoiceHeaderInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdInvoiceheadersPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var invoiceHeaderInput = new InvoiceHeaderInput(); // InvoiceHeaderInput | 

            try {
                apiInstance.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdInvoiceheadersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$invoiceHeaderInput = ; // InvoiceHeaderInput | 

try {
    $api_instance->v1SuppliersIdInvoiceheadersPost($id, $invoiceHeaderInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $invoiceHeaderInput = WWW::OPenAPIClient::Object::InvoiceHeaderInput->new(); # InvoiceHeaderInput | 

eval {
    $api_instance->v1SuppliersIdInvoiceheadersPost(id => $id, invoiceHeaderInput => $invoiceHeaderInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
invoiceHeaderInput =  # InvoiceHeaderInput | 

try:
    api_instance.v1_suppliers_id_invoiceheaders_post(id, invoiceHeaderInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdInvoiceheadersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let invoiceHeaderInput = ; // InvoiceHeaderInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdInvoiceheadersPost(id, invoiceHeaderInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
invoiceHeaderInput *

Responses


v1SuppliersIdProtocolsGet


/v1/suppliers/{id}/protocols

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}/protocols"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[protocolOutputArray_inner] result = apiInstance.v1SuppliersIdProtocolsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdProtocolsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1SuppliersIdProtocolsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdProtocolsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[protocolOutputArray_inner] result = apiInstance.v1SuppliersIdProtocolsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdProtocolsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1SuppliersIdProtocolsGetWith:id
              completionHandler: ^(array[protocolOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliersIdProtocolsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdProtocolsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[protocolOutputArray_inner] result = apiInstance.v1SuppliersIdProtocolsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdProtocolsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1SuppliersIdProtocolsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdProtocolsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1SuppliersIdProtocolsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdProtocolsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_suppliers_id_protocols_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdProtocolsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdProtocolsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1SuppliersIdPut


/v1/suppliers/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        SupplierInput supplierInput = ; // SupplierInput | 

        try {
            apiInstance.v1SuppliersIdPut(id, supplierInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final SupplierInput supplierInput = new SupplierInput(); // SupplierInput | 

try {
    final result = await api_instance.v1SuppliersIdPut(id, supplierInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        SupplierInput supplierInput = ; // SupplierInput | 

        try {
            apiInstance.v1SuppliersIdPut(id, supplierInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
SupplierInput *supplierInput = ; // 

[apiInstance v1SuppliersIdPutWith:id
    supplierInput:supplierInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var supplierInput = ; // {SupplierInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliersIdPut(id, supplierInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var supplierInput = new SupplierInput(); // SupplierInput | 

            try {
                apiInstance.v1SuppliersIdPut(id, supplierInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$supplierInput = ; // SupplierInput | 

try {
    $api_instance->v1SuppliersIdPut($id, $supplierInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $supplierInput = WWW::OPenAPIClient::Object::SupplierInput->new(); # SupplierInput | 

eval {
    $api_instance->v1SuppliersIdPut(id => $id, supplierInput => $supplierInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
supplierInput =  # SupplierInput | 

try:
    api_instance.v1_suppliers_id_put(id, supplierInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let supplierInput = ; // SupplierInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersIdPut(id, supplierInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
supplierInput *

Responses


v1SuppliersPost


/v1/suppliers

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/suppliers" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        SupplierInput supplierInput = ; // SupplierInput | 

        try {
            apiInstance.v1SuppliersPost(supplierInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final SupplierInput supplierInput = new SupplierInput(); // SupplierInput | 

try {
    final result = await api_instance.v1SuppliersPost(supplierInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        SupplierInput supplierInput = ; // SupplierInput | 

        try {
            apiInstance.v1SuppliersPost(supplierInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
SupplierInput *supplierInput = ; // 

[apiInstance v1SuppliersPostWith:supplierInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var supplierInput = ; // {SupplierInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliersPost(supplierInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliersPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierInput = new SupplierInput(); // SupplierInput | 

            try {
                apiInstance.v1SuppliersPost(supplierInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierInput = ; // SupplierInput | 

try {
    $api_instance->v1SuppliersPost($supplierInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierInput = WWW::OPenAPIClient::Object::SupplierInput->new(); # SupplierInput | 

eval {
    $api_instance->v1SuppliersPost(supplierInput => $supplierInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierInput =  # SupplierInput | 

try:
    api_instance.v1_suppliers_post(supplierInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierInput = ; // SupplierInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliersPost(supplierInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
supplierInput *

Responses


v1SuppliesDownloadPost

download data (force datacollection event for recalculate supplies)


/v1/supplies/download

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/supplies/download" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        V1SuppliesDownloadPostRequest v1SuppliesDownloadPostRequest = ; // V1SuppliesDownloadPostRequest | 

        try {
            apiInstance.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesDownloadPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final V1SuppliesDownloadPostRequest v1SuppliesDownloadPostRequest = new V1SuppliesDownloadPostRequest(); // V1SuppliesDownloadPostRequest | 

try {
    final result = await api_instance.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliesDownloadPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        V1SuppliesDownloadPostRequest v1SuppliesDownloadPostRequest = ; // V1SuppliesDownloadPostRequest | 

        try {
            apiInstance.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesDownloadPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
V1SuppliesDownloadPostRequest *v1SuppliesDownloadPostRequest = ; // 

[apiInstance v1SuppliesDownloadPostWith:v1SuppliesDownloadPostRequest
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var v1SuppliesDownloadPostRequest = ; // {V1SuppliesDownloadPostRequest} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliesDownloadPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var v1SuppliesDownloadPostRequest = new V1SuppliesDownloadPostRequest(); // V1SuppliesDownloadPostRequest | 

            try {
                apiInstance.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliesDownloadPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$v1SuppliesDownloadPostRequest = ; // V1SuppliesDownloadPostRequest | 

try {
    $api_instance->v1SuppliesDownloadPost($v1SuppliesDownloadPostRequest);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliesDownloadPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $v1SuppliesDownloadPostRequest = WWW::OPenAPIClient::Object::V1SuppliesDownloadPostRequest->new(); # V1SuppliesDownloadPostRequest | 

eval {
    $api_instance->v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest => $v1SuppliesDownloadPostRequest);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliesDownloadPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
v1SuppliesDownloadPostRequest =  # V1SuppliesDownloadPostRequest | 

try:
    api_instance.v1_supplies_download_post(v1SuppliesDownloadPostRequest)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliesDownloadPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let v1SuppliesDownloadPostRequest = ; // V1SuppliesDownloadPostRequest

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliesDownloadPost(v1SuppliesDownloadPostRequest, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
v1SuppliesDownloadPostRequest *

Responses


v1SuppliesNonoilPost


/v1/supplies/nonoil

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/supplies/nonoil" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ManualSupplyInput manualSupplyInput = ; // ManualSupplyInput | 

        try {
            apiInstance.v1SuppliesNonoilPost(manualSupplyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesNonoilPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ManualSupplyInput manualSupplyInput = new ManualSupplyInput(); // ManualSupplyInput | 

try {
    final result = await api_instance.v1SuppliesNonoilPost(manualSupplyInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliesNonoilPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ManualSupplyInput manualSupplyInput = ; // ManualSupplyInput | 

        try {
            apiInstance.v1SuppliesNonoilPost(manualSupplyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesNonoilPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ManualSupplyInput *manualSupplyInput = ; // 

[apiInstance v1SuppliesNonoilPostWith:manualSupplyInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var manualSupplyInput = ; // {ManualSupplyInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliesNonoilPost(manualSupplyInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliesNonoilPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var manualSupplyInput = new ManualSupplyInput(); // ManualSupplyInput | 

            try {
                apiInstance.v1SuppliesNonoilPost(manualSupplyInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliesNonoilPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$manualSupplyInput = ; // ManualSupplyInput | 

try {
    $api_instance->v1SuppliesNonoilPost($manualSupplyInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliesNonoilPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $manualSupplyInput = WWW::OPenAPIClient::Object::ManualSupplyInput->new(); # ManualSupplyInput | 

eval {
    $api_instance->v1SuppliesNonoilPost(manualSupplyInput => $manualSupplyInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliesNonoilPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
manualSupplyInput =  # ManualSupplyInput | 

try:
    api_instance.v1_supplies_nonoil_post(manualSupplyInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliesNonoilPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let manualSupplyInput = ; // ManualSupplyInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliesNonoilPost(manualSupplyInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
manualSupplyInput *

Responses


v1SuppliesOilPost


/v1/supplies/oil

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/supplies/oil" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        ManualSupplyInput manualSupplyInput = ; // ManualSupplyInput | 

        try {
            apiInstance.v1SuppliesOilPost(manualSupplyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesOilPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final ManualSupplyInput manualSupplyInput = new ManualSupplyInput(); // ManualSupplyInput | 

try {
    final result = await api_instance.v1SuppliesOilPost(manualSupplyInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliesOilPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        ManualSupplyInput manualSupplyInput = ; // ManualSupplyInput | 

        try {
            apiInstance.v1SuppliesOilPost(manualSupplyInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesOilPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
ManualSupplyInput *manualSupplyInput = ; // 

[apiInstance v1SuppliesOilPostWith:manualSupplyInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var manualSupplyInput = ; // {ManualSupplyInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1SuppliesOilPost(manualSupplyInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliesOilPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var manualSupplyInput = new ManualSupplyInput(); // ManualSupplyInput | 

            try {
                apiInstance.v1SuppliesOilPost(manualSupplyInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliesOilPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$manualSupplyInput = ; // ManualSupplyInput | 

try {
    $api_instance->v1SuppliesOilPost($manualSupplyInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliesOilPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $manualSupplyInput = WWW::OPenAPIClient::Object::ManualSupplyInput->new(); # ManualSupplyInput | 

eval {
    $api_instance->v1SuppliesOilPost(manualSupplyInput => $manualSupplyInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliesOilPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
manualSupplyInput =  # ManualSupplyInput | 

try:
    api_instance.v1_supplies_oil_post(manualSupplyInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliesOilPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let manualSupplyInput = ; // ManualSupplyInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliesOilPost(manualSupplyInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
manualSupplyInput *

Responses


v1SuppliesSearchGet


/v1/supplies/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/supplies/search?dispenser_number=dispenserNumber_example&fuel_station_id=fuelStationId_example&receipt_number=receiptNumber_example&service=service_example&rows=rows_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String service = service_example; // String | 
        String dispenserNumber = dispenserNumber_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String receiptNumber = receiptNumber_example; // String | 
        String rows = rows_example; // String | 

        try {
            array[supplyOutputArray_inner] result = apiInstance.v1SuppliesSearchGet(service, dispenserNumber, fuelStationId, receiptNumber, rows);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String service = new String(); // String | 
final String dispenserNumber = new String(); // String | 
final String fuelStationId = new String(); // String | 
final String receiptNumber = new String(); // String | 
final String rows = new String(); // String | 

try {
    final result = await api_instance.v1SuppliesSearchGet(service, dispenserNumber, fuelStationId, receiptNumber, rows);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1SuppliesSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String service = service_example; // String | 
        String dispenserNumber = dispenserNumber_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String receiptNumber = receiptNumber_example; // String | 
        String rows = rows_example; // String | 

        try {
            array[supplyOutputArray_inner] result = apiInstance.v1SuppliesSearchGet(service, dispenserNumber, fuelStationId, receiptNumber, rows);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1SuppliesSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *service = service_example; //  (default to null)
String *dispenserNumber = dispenserNumber_example; //  (optional) (default to null)
String *fuelStationId = fuelStationId_example; //  (optional) (default to null)
String *receiptNumber = receiptNumber_example; //  (optional) (default to null)
String *rows = rows_example; //  (optional) (default to null)

[apiInstance v1SuppliesSearchGetWith:service
    dispenserNumber:dispenserNumber
    fuelStationId:fuelStationId
    receiptNumber:receiptNumber
    rows:rows
              completionHandler: ^(array[supplyOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var service = service_example; // {String} 
var opts = {
  'dispenserNumber': dispenserNumber_example, // {String} 
  'fuelStationId': fuelStationId_example, // {String} 
  'receiptNumber': receiptNumber_example, // {String} 
  'rows': rows_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1SuppliesSearchGet(service, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1SuppliesSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var service = service_example;  // String |  (default to null)
            var dispenserNumber = dispenserNumber_example;  // String |  (optional)  (default to null)
            var fuelStationId = fuelStationId_example;  // String |  (optional)  (default to null)
            var receiptNumber = receiptNumber_example;  // String |  (optional)  (default to null)
            var rows = rows_example;  // String |  (optional)  (default to null)

            try {
                array[supplyOutputArray_inner] result = apiInstance.v1SuppliesSearchGet(service, dispenserNumber, fuelStationId, receiptNumber, rows);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1SuppliesSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$service = service_example; // String | 
$dispenserNumber = dispenserNumber_example; // String | 
$fuelStationId = fuelStationId_example; // String | 
$receiptNumber = receiptNumber_example; // String | 
$rows = rows_example; // String | 

try {
    $result = $api_instance->v1SuppliesSearchGet($service, $dispenserNumber, $fuelStationId, $receiptNumber, $rows);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1SuppliesSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $service = service_example; # String | 
my $dispenserNumber = dispenserNumber_example; # String | 
my $fuelStationId = fuelStationId_example; # String | 
my $receiptNumber = receiptNumber_example; # String | 
my $rows = rows_example; # String | 

eval {
    my $result = $api_instance->v1SuppliesSearchGet(service => $service, dispenserNumber => $dispenserNumber, fuelStationId => $fuelStationId, receiptNumber => $receiptNumber, rows => $rows);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1SuppliesSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
service = service_example # String |  (default to null)
dispenserNumber = dispenserNumber_example # String |  (optional) (default to null)
fuelStationId = fuelStationId_example # String |  (optional) (default to null)
receiptNumber = receiptNumber_example # String |  (optional) (default to null)
rows = rows_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_supplies_search_get(service, dispenserNumber=dispenserNumber, fuelStationId=fuelStationId, receiptNumber=receiptNumber, rows=rows)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1SuppliesSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let service = service_example; // String
    let dispenserNumber = dispenserNumber_example; // String
    let fuelStationId = fuelStationId_example; // String
    let receiptNumber = receiptNumber_example; // String
    let rows = rows_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1SuppliesSearchGet(service, dispenserNumber, fuelStationId, receiptNumber, rows, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
dispenser_number
String
fuel_station_id
String
receipt_number
String
service*
String
Required
rows
String

Responses


v1TanksManualstocksTrendGet


/v1/tanks/manualstocks/trend

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/manualstocks/trend?fuelstation_ids=fuelstationIds_example&date_start=dateStart_example&date_end=dateEnd_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationIds = fuelstationIds_example; // String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
        String dateStart = dateStart_example; // String | Start date time on unix time format
        String dateEnd = dateEnd_example; // String | Ebd date time on unix time format

        try {
            array[_v1_tanks_manualstocks_trend_get_200_response_inner] result = apiInstance.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksManualstocksTrendGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelstationIds = new String(); // String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
final String dateStart = new String(); // String | Start date time on unix time format
final String dateEnd = new String(); // String | Ebd date time on unix time format

try {
    final result = await api_instance.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksManualstocksTrendGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationIds = fuelstationIds_example; // String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
        String dateStart = dateStart_example; // String | Start date time on unix time format
        String dateEnd = dateEnd_example; // String | Ebd date time on unix time format

        try {
            array[_v1_tanks_manualstocks_trend_get_200_response_inner] result = apiInstance.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksManualstocksTrendGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelstationIds = fuelstationIds_example; // Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..) (default to null)
String *dateStart = dateStart_example; // Start date time on unix time format (default to null)
String *dateEnd = dateEnd_example; // Ebd date time on unix time format (default to null)

// 
[apiInstance v1TanksManualstocksTrendGetWith:fuelstationIds
    dateStart:dateStart
    dateEnd:dateEnd
              completionHandler: ^(array[_v1_tanks_manualstocks_trend_get_200_response_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelstationIds = fuelstationIds_example; // {String} Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
var dateStart = dateStart_example; // {String} Start date time on unix time format
var dateEnd = dateEnd_example; // {String} Ebd date time on unix time format

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksManualstocksTrendGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelstationIds = fuelstationIds_example;  // String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..) (default to null)
            var dateStart = dateStart_example;  // String | Start date time on unix time format (default to null)
            var dateEnd = dateEnd_example;  // String | Ebd date time on unix time format (default to null)

            try {
                // 
                array[_v1_tanks_manualstocks_trend_get_200_response_inner] result = apiInstance.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksManualstocksTrendGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelstationIds = fuelstationIds_example; // String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
$dateStart = dateStart_example; // String | Start date time on unix time format
$dateEnd = dateEnd_example; // String | Ebd date time on unix time format

try {
    $result = $api_instance->v1TanksManualstocksTrendGet($fuelstationIds, $dateStart, $dateEnd);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksManualstocksTrendGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelstationIds = fuelstationIds_example; # String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
my $dateStart = dateStart_example; # String | Start date time on unix time format
my $dateEnd = dateEnd_example; # String | Ebd date time on unix time format

eval {
    my $result = $api_instance->v1TanksManualstocksTrendGet(fuelstationIds => $fuelstationIds, dateStart => $dateStart, dateEnd => $dateEnd);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksManualstocksTrendGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelstationIds = fuelstationIds_example # String | Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..) (default to null)
dateStart = dateStart_example # String | Start date time on unix time format (default to null)
dateEnd = dateEnd_example # String | Ebd date time on unix time format (default to null)

try:
    # 
    api_response = api_instance.v1_tanks_manualstocks_trend_get(fuelstationIds, dateStart, dateEnd)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksManualstocksTrendGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelstationIds = fuelstationIds_example; // String
    let dateStart = dateStart_example; // String
    let dateEnd = dateEnd_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksManualstocksTrendGet(fuelstationIds, dateStart, dateEnd, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fuelstation_ids*
String
Fuel station identifiers with comma separation (for exampe 3381,3385,ecc..)
Required
date_start*
String
Start date time on unix time format
Required
date_end*
String
Ebd date time on unix time format
Required

Responses


v1TanksMarginManagementConfigurationGet

Your GET endpoint


/v1/tanks/margin-management/configuration

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/margin-management/configuration?fuelstation_id=fuelstationId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | id of the fuelstation

        try {
            array[getMarginManagementConfiguration_inner] result = apiInstance.v1TanksMarginManagementConfigurationGet(fuelstationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksMarginManagementConfigurationGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelstationId = new String(); // String | id of the fuelstation

try {
    final result = await api_instance.v1TanksMarginManagementConfigurationGet(fuelstationId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksMarginManagementConfigurationGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | id of the fuelstation

        try {
            array[getMarginManagementConfiguration_inner] result = apiInstance.v1TanksMarginManagementConfigurationGet(fuelstationId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksMarginManagementConfigurationGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelstationId = fuelstationId_example; // id of the fuelstation (optional) (default to null)

// Your GET endpoint
[apiInstance v1TanksMarginManagementConfigurationGetWith:fuelstationId
              completionHandler: ^(array[getMarginManagementConfiguration_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'fuelstationId': fuelstationId_example // {String} id of the fuelstation
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TanksMarginManagementConfigurationGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksMarginManagementConfigurationGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelstationId = fuelstationId_example;  // String | id of the fuelstation (optional)  (default to null)

            try {
                // Your GET endpoint
                array[getMarginManagementConfiguration_inner] result = apiInstance.v1TanksMarginManagementConfigurationGet(fuelstationId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksMarginManagementConfigurationGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelstationId = fuelstationId_example; // String | id of the fuelstation

try {
    $result = $api_instance->v1TanksMarginManagementConfigurationGet($fuelstationId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksMarginManagementConfigurationGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelstationId = fuelstationId_example; # String | id of the fuelstation

eval {
    my $result = $api_instance->v1TanksMarginManagementConfigurationGet(fuelstationId => $fuelstationId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksMarginManagementConfigurationGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelstationId = fuelstationId_example # String | id of the fuelstation (optional) (default to null)

try:
    # Your GET endpoint
    api_response = api_instance.v1_tanks_margin_management_configuration_get(fuelstationId=fuelstationId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksMarginManagementConfigurationGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelstationId = fuelstationId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksMarginManagementConfigurationGet(fuelstationId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fuelstation_id
String
id of the fuelstation

Responses


v1TanksMarginManagementTrendGet

Your GET endpoint


/v1/tanks/margin-management/trend

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/margin-management/trend?supplier_id=supplierId_example&date_start=dateStart_example&date_end=dateEnd_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Supplier id
        String dateStart = dateStart_example; // String | Start date time on unix format
        String dateEnd = dateEnd_example; // String | End date time on unix format

        try {
            array[getMarginManagementTrend_inner] result = apiInstance.v1TanksMarginManagementTrendGet(supplierId, dateStart, dateEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksMarginManagementTrendGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String supplierId = new String(); // String | Supplier id
final String dateStart = new String(); // String | Start date time on unix format
final String dateEnd = new String(); // String | End date time on unix format

try {
    final result = await api_instance.v1TanksMarginManagementTrendGet(supplierId, dateStart, dateEnd);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksMarginManagementTrendGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | Supplier id
        String dateStart = dateStart_example; // String | Start date time on unix format
        String dateEnd = dateEnd_example; // String | End date time on unix format

        try {
            array[getMarginManagementTrend_inner] result = apiInstance.v1TanksMarginManagementTrendGet(supplierId, dateStart, dateEnd);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksMarginManagementTrendGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *supplierId = supplierId_example; // Supplier id (optional) (default to null)
String *dateStart = dateStart_example; // Start date time on unix format (optional) (default to null)
String *dateEnd = dateEnd_example; // End date time on unix format (optional) (default to null)

// Your GET endpoint
[apiInstance v1TanksMarginManagementTrendGetWith:supplierId
    dateStart:dateStart
    dateEnd:dateEnd
              completionHandler: ^(array[getMarginManagementTrend_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'supplierId': supplierId_example, // {String} Supplier id
  'dateStart': dateStart_example, // {String} Start date time on unix format
  'dateEnd': dateEnd_example // {String} End date time on unix format
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TanksMarginManagementTrendGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksMarginManagementTrendGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String | Supplier id (optional)  (default to null)
            var dateStart = dateStart_example;  // String | Start date time on unix format (optional)  (default to null)
            var dateEnd = dateEnd_example;  // String | End date time on unix format (optional)  (default to null)

            try {
                // Your GET endpoint
                array[getMarginManagementTrend_inner] result = apiInstance.v1TanksMarginManagementTrendGet(supplierId, dateStart, dateEnd);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksMarginManagementTrendGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | Supplier id
$dateStart = dateStart_example; // String | Start date time on unix format
$dateEnd = dateEnd_example; // String | End date time on unix format

try {
    $result = $api_instance->v1TanksMarginManagementTrendGet($supplierId, $dateStart, $dateEnd);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksMarginManagementTrendGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | Supplier id
my $dateStart = dateStart_example; # String | Start date time on unix format
my $dateEnd = dateEnd_example; # String | End date time on unix format

eval {
    my $result = $api_instance->v1TanksMarginManagementTrendGet(supplierId => $supplierId, dateStart => $dateStart, dateEnd => $dateEnd);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksMarginManagementTrendGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierId = supplierId_example # String | Supplier id (optional) (default to null)
dateStart = dateStart_example # String | Start date time on unix format (optional) (default to null)
dateEnd = dateEnd_example # String | End date time on unix format (optional) (default to null)

try:
    # Your GET endpoint
    api_response = api_instance.v1_tanks_margin_management_trend_get(supplierId=supplierId, dateStart=dateStart, dateEnd=dateEnd)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksMarginManagementTrendGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierId = supplierId_example; // String
    let dateStart = dateStart_example; // String
    let dateEnd = dateEnd_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksMarginManagementTrendGet(supplierId, dateStart, dateEnd, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
supplier_id
String
Supplier id
date_start
String
Start date time on unix format
date_end
String
End date time on unix format

Responses


v1TanksReconciliationsConfigurationGet


/v1/tanks/reconciliations/configuration

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/reconciliations/configuration?supplier_id=supplierId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 

        try {
            array[getTanksReconciliationsConfigurationOutputArray_inner] result = apiInstance.v1TanksReconciliationsConfigurationGet(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsConfigurationGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String supplierId = new String(); // String | 

try {
    final result = await api_instance.v1TanksReconciliationsConfigurationGet(supplierId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksReconciliationsConfigurationGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String supplierId = supplierId_example; // String | 

        try {
            array[getTanksReconciliationsConfigurationOutputArray_inner] result = apiInstance.v1TanksReconciliationsConfigurationGet(supplierId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsConfigurationGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *supplierId = supplierId_example; //  (default to null)

// 
[apiInstance v1TanksReconciliationsConfigurationGetWith:supplierId
              completionHandler: ^(array[getTanksReconciliationsConfigurationOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var supplierId = supplierId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TanksReconciliationsConfigurationGet(supplierId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksReconciliationsConfigurationGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var supplierId = supplierId_example;  // String |  (default to null)

            try {
                // 
                array[getTanksReconciliationsConfigurationOutputArray_inner] result = apiInstance.v1TanksReconciliationsConfigurationGet(supplierId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksReconciliationsConfigurationGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$supplierId = supplierId_example; // String | 

try {
    $result = $api_instance->v1TanksReconciliationsConfigurationGet($supplierId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksReconciliationsConfigurationGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $supplierId = supplierId_example; # String | 

eval {
    my $result = $api_instance->v1TanksReconciliationsConfigurationGet(supplierId => $supplierId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksReconciliationsConfigurationGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
supplierId = supplierId_example # String |  (default to null)

try:
    # 
    api_response = api_instance.v1_tanks_reconciliations_configuration_get(supplierId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksReconciliationsConfigurationGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let supplierId = supplierId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksReconciliationsConfigurationGet(supplierId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
supplier_id*
String
Required

Responses


v1TanksReconciliationsConfigurationPost


/v1/tanks/reconciliations/configuration

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/reconciliations/configuration" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UpsertTanksReconciliationsConfiguration upsertTanksReconciliationsConfiguration = ; // UpsertTanksReconciliationsConfiguration | 

        try {
            apiInstance.v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsConfigurationPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UpsertTanksReconciliationsConfiguration upsertTanksReconciliationsConfiguration = new UpsertTanksReconciliationsConfiguration(); // UpsertTanksReconciliationsConfiguration | 

try {
    final result = await api_instance.v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksReconciliationsConfigurationPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UpsertTanksReconciliationsConfiguration upsertTanksReconciliationsConfiguration = ; // UpsertTanksReconciliationsConfiguration | 

        try {
            apiInstance.v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsConfigurationPost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UpsertTanksReconciliationsConfiguration *upsertTanksReconciliationsConfiguration = ; //  (optional)

// 
[apiInstance v1TanksReconciliationsConfigurationPostWith:upsertTanksReconciliationsConfiguration
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'upsertTanksReconciliationsConfiguration':  // {UpsertTanksReconciliationsConfiguration} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1TanksReconciliationsConfigurationPost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksReconciliationsConfigurationPostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var upsertTanksReconciliationsConfiguration = new UpsertTanksReconciliationsConfiguration(); // UpsertTanksReconciliationsConfiguration |  (optional) 

            try {
                // 
                apiInstance.v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksReconciliationsConfigurationPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$upsertTanksReconciliationsConfiguration = ; // UpsertTanksReconciliationsConfiguration | 

try {
    $api_instance->v1TanksReconciliationsConfigurationPost($upsertTanksReconciliationsConfiguration);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksReconciliationsConfigurationPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $upsertTanksReconciliationsConfiguration = WWW::OPenAPIClient::Object::UpsertTanksReconciliationsConfiguration->new(); # UpsertTanksReconciliationsConfiguration | 

eval {
    $api_instance->v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration => $upsertTanksReconciliationsConfiguration);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksReconciliationsConfigurationPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
upsertTanksReconciliationsConfiguration =  # UpsertTanksReconciliationsConfiguration |  (optional)

try:
    # 
    api_instance.v1_tanks_reconciliations_configuration_post(upsertTanksReconciliationsConfiguration=upsertTanksReconciliationsConfiguration)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksReconciliationsConfigurationPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let upsertTanksReconciliationsConfiguration = ; // UpsertTanksReconciliationsConfiguration

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksReconciliationsConfigurationPost(upsertTanksReconciliationsConfiguration, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
upsertTanksReconciliationsConfiguration

Responses


v1TanksReconciliationsDataGet


/v1/tanks/reconciliations/data

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/tanks/reconciliations/data?fuelstation_id=fuelstationId_example&date_start=dateStart_example&date_end=dateEnd_example&is_analysis=isAnalysis_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 
        String dateStart = dateStart_example; // String | Unix time format
        String dateEnd = dateEnd_example; // String | Unix time format
        String isAnalysis = isAnalysis_example; // String | boolean value for get analysis data if true or history data if false

        try {
            array[_v1_tanks_reconciliations_data_get_200_response_inner] result = apiInstance.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, isAnalysis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsDataGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String fuelstationId = new String(); // String | 
final String dateStart = new String(); // String | Unix time format
final String dateEnd = new String(); // String | Unix time format
final String isAnalysis = new String(); // String | boolean value for get analysis data if true or history data if false

try {
    final result = await api_instance.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, isAnalysis);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TanksReconciliationsDataGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String fuelstationId = fuelstationId_example; // String | 
        String dateStart = dateStart_example; // String | Unix time format
        String dateEnd = dateEnd_example; // String | Unix time format
        String isAnalysis = isAnalysis_example; // String | boolean value for get analysis data if true or history data if false

        try {
            array[_v1_tanks_reconciliations_data_get_200_response_inner] result = apiInstance.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, isAnalysis);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TanksReconciliationsDataGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *fuelstationId = fuelstationId_example; //  (default to null)
String *dateStart = dateStart_example; // Unix time format (default to null)
String *dateEnd = dateEnd_example; // Unix time format (default to null)
String *isAnalysis = isAnalysis_example; // boolean value for get analysis data if true or history data if false (optional) (default to null)

// 
[apiInstance v1TanksReconciliationsDataGetWith:fuelstationId
    dateStart:dateStart
    dateEnd:dateEnd
    isAnalysis:isAnalysis
              completionHandler: ^(array[_v1_tanks_reconciliations_data_get_200_response_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var fuelstationId = fuelstationId_example; // {String} 
var dateStart = dateStart_example; // {String} Unix time format
var dateEnd = dateEnd_example; // {String} Unix time format
var opts = {
  'isAnalysis': isAnalysis_example // {String} boolean value for get analysis data if true or history data if false
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TanksReconciliationsDataGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var fuelstationId = fuelstationId_example;  // String |  (default to null)
            var dateStart = dateStart_example;  // String | Unix time format (default to null)
            var dateEnd = dateEnd_example;  // String | Unix time format (default to null)
            var isAnalysis = isAnalysis_example;  // String | boolean value for get analysis data if true or history data if false (optional)  (default to null)

            try {
                // 
                array[_v1_tanks_reconciliations_data_get_200_response_inner] result = apiInstance.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, isAnalysis);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TanksReconciliationsDataGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$fuelstationId = fuelstationId_example; // String | 
$dateStart = dateStart_example; // String | Unix time format
$dateEnd = dateEnd_example; // String | Unix time format
$isAnalysis = isAnalysis_example; // String | boolean value for get analysis data if true or history data if false

try {
    $result = $api_instance->v1TanksReconciliationsDataGet($fuelstationId, $dateStart, $dateEnd, $isAnalysis);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TanksReconciliationsDataGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $fuelstationId = fuelstationId_example; # String | 
my $dateStart = dateStart_example; # String | Unix time format
my $dateEnd = dateEnd_example; # String | Unix time format
my $isAnalysis = isAnalysis_example; # String | boolean value for get analysis data if true or history data if false

eval {
    my $result = $api_instance->v1TanksReconciliationsDataGet(fuelstationId => $fuelstationId, dateStart => $dateStart, dateEnd => $dateEnd, isAnalysis => $isAnalysis);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TanksReconciliationsDataGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
fuelstationId = fuelstationId_example # String |  (default to null)
dateStart = dateStart_example # String | Unix time format (default to null)
dateEnd = dateEnd_example # String | Unix time format (default to null)
isAnalysis = isAnalysis_example # String | boolean value for get analysis data if true or history data if false (optional) (default to null)

try:
    # 
    api_response = api_instance.v1_tanks_reconciliations_data_get(fuelstationId, dateStart, dateEnd, isAnalysis=isAnalysis)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TanksReconciliationsDataGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let fuelstationId = fuelstationId_example; // String
    let dateStart = dateStart_example; // String
    let dateEnd = dateEnd_example; // String
    let isAnalysis = isAnalysis_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TanksReconciliationsDataGet(fuelstationId, dateStart, dateEnd, isAnalysis, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
fuelstation_id*
String
Required
date_start*
String
Unix time format
Required
date_end*
String
Unix time format
Required
is_analysis
String
boolean value for get analysis data if true or history data if false

Responses


v1TransactionsPost


/v1/transactions

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/transactions" \
 -d '{
  "amount" : 0.8008281904610115,
  "is_codes" : "is_codes"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[transactionPaymentOutput_inner] transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

        try {
            apiInstance.v1TransactionsPost(transactionPaymentOutputInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[transactionPaymentOutput_inner] transactionPaymentOutputInner = new array[transactionPaymentOutput_inner](); // array[transactionPaymentOutput_inner] | 

try {
    final result = await api_instance.v1TransactionsPost(transactionPaymentOutputInner);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TransactionsPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[transactionPaymentOutput_inner] transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

        try {
            apiInstance.v1TransactionsPost(transactionPaymentOutputInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[transactionPaymentOutput_inner] *transactionPaymentOutputInner = ; // 

[apiInstance v1TransactionsPostWith:transactionPaymentOutputInner
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var transactionPaymentOutputInner = ; // {array[transactionPaymentOutput_inner]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1TransactionsPost(transactionPaymentOutputInner, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TransactionsPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var transactionPaymentOutputInner = new array[transactionPaymentOutput_inner](); // array[transactionPaymentOutput_inner] | 

            try {
                apiInstance.v1TransactionsPost(transactionPaymentOutputInner);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TransactionsPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

try {
    $api_instance->v1TransactionsPost($transactionPaymentOutputInner);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TransactionsPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $transactionPaymentOutputInner = [WWW::OPenAPIClient::Object::array[transactionPaymentOutput_inner]->new()]; # array[transactionPaymentOutput_inner] | 

eval {
    $api_instance->v1TransactionsPost(transactionPaymentOutputInner => $transactionPaymentOutputInner);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TransactionsPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
transactionPaymentOutputInner =  # array[transactionPaymentOutput_inner] | 

try:
    api_instance.v1_transactions_post(transactionPaymentOutputInner)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TransactionsPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner]

    let mut context = DefaultApi::Context::default();
    let result = client.v1TransactionsPost(transactionPaymentOutputInner, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
transactionPaymentOutputInner *

Responses


v1TransactionsPut


/v1/transactions

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/transactions" \
 -d '{
  "amount" : 0.8008281904610115,
  "is_codes" : "is_codes"
}'
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        array[transactionPaymentOutput_inner] transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

        try {
            apiInstance.v1TransactionsPut(transactionPaymentOutputInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final array[transactionPaymentOutput_inner] transactionPaymentOutputInner = new array[transactionPaymentOutput_inner](); // array[transactionPaymentOutput_inner] | 

try {
    final result = await api_instance.v1TransactionsPut(transactionPaymentOutputInner);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TransactionsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        array[transactionPaymentOutput_inner] transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

        try {
            apiInstance.v1TransactionsPut(transactionPaymentOutputInner);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
array[transactionPaymentOutput_inner] *transactionPaymentOutputInner = ; // 

[apiInstance v1TransactionsPutWith:transactionPaymentOutputInner
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var transactionPaymentOutputInner = ; // {array[transactionPaymentOutput_inner]} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1TransactionsPut(transactionPaymentOutputInner, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TransactionsPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var transactionPaymentOutputInner = new array[transactionPaymentOutput_inner](); // array[transactionPaymentOutput_inner] | 

            try {
                apiInstance.v1TransactionsPut(transactionPaymentOutputInner);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TransactionsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner] | 

try {
    $api_instance->v1TransactionsPut($transactionPaymentOutputInner);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TransactionsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $transactionPaymentOutputInner = [WWW::OPenAPIClient::Object::array[transactionPaymentOutput_inner]->new()]; # array[transactionPaymentOutput_inner] | 

eval {
    $api_instance->v1TransactionsPut(transactionPaymentOutputInner => $transactionPaymentOutputInner);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TransactionsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
transactionPaymentOutputInner =  # array[transactionPaymentOutput_inner] | 

try:
    api_instance.v1_transactions_put(transactionPaymentOutputInner)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TransactionsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let transactionPaymentOutputInner = ; // array[transactionPaymentOutput_inner]

    let mut context = DefaultApi::Context::default();
    let result = client.v1TransactionsPut(transactionPaymentOutputInner, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
transactionPaymentOutputInner *

Responses


v1TransactionsSearchGet


/v1/transactions/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/transactions/search?computer_station_tran_id=computerStationTranId_example&fuel_station_id=fuelStationId_example&service=service_example&request_id=requestId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String computerStationTranId = computerStationTranId_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String service = service_example; // String | 
        String requestId = requestId_example; // String | 

        try {
            array[transactionOutputArray_inner] result = apiInstance.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String computerStationTranId = new String(); // String | 
final String fuelStationId = new String(); // String | 
final String service = new String(); // String | 
final String requestId = new String(); // String | 

try {
    final result = await api_instance.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1TransactionsSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String computerStationTranId = computerStationTranId_example; // String | 
        String fuelStationId = fuelStationId_example; // String | 
        String service = service_example; // String | 
        String requestId = requestId_example; // String | 

        try {
            array[transactionOutputArray_inner] result = apiInstance.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1TransactionsSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *computerStationTranId = computerStationTranId_example; //  (default to null)
String *fuelStationId = fuelStationId_example; //  (default to null)
String *service = service_example; //  (default to null)
String *requestId = requestId_example; //  (default to null)

[apiInstance v1TransactionsSearchGetWith:computerStationTranId
    fuelStationId:fuelStationId
    service:service
    requestId:requestId
              completionHandler: ^(array[transactionOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var computerStationTranId = computerStationTranId_example; // {String} 
var fuelStationId = fuelStationId_example; // {String} 
var service = service_example; // {String} 
var requestId = requestId_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1TransactionsSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var computerStationTranId = computerStationTranId_example;  // String |  (default to null)
            var fuelStationId = fuelStationId_example;  // String |  (default to null)
            var service = service_example;  // String |  (default to null)
            var requestId = requestId_example;  // String |  (default to null)

            try {
                array[transactionOutputArray_inner] result = apiInstance.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1TransactionsSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$computerStationTranId = computerStationTranId_example; // String | 
$fuelStationId = fuelStationId_example; // String | 
$service = service_example; // String | 
$requestId = requestId_example; // String | 

try {
    $result = $api_instance->v1TransactionsSearchGet($computerStationTranId, $fuelStationId, $service, $requestId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1TransactionsSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $computerStationTranId = computerStationTranId_example; # String | 
my $fuelStationId = fuelStationId_example; # String | 
my $service = service_example; # String | 
my $requestId = requestId_example; # String | 

eval {
    my $result = $api_instance->v1TransactionsSearchGet(computerStationTranId => $computerStationTranId, fuelStationId => $fuelStationId, service => $service, requestId => $requestId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1TransactionsSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
computerStationTranId = computerStationTranId_example # String |  (default to null)
fuelStationId = fuelStationId_example # String |  (default to null)
service = service_example # String |  (default to null)
requestId = requestId_example # String |  (default to null)

try:
    api_response = api_instance.v1_transactions_search_get(computerStationTranId, fuelStationId, service, requestId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1TransactionsSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let computerStationTranId = computerStationTranId_example; // String
    let fuelStationId = fuelStationId_example; // String
    let service = service_example; // String
    let requestId = requestId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1TransactionsSearchGet(computerStationTranId, fuelStationId, service, requestId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
computer_station_tran_id*
String
Required
fuel_station_id*
String
Required
service*
String
Required
request_id*
String
Required

Responses


v1UsersConfirmResendPost


/v1/users/confirm/resend

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/confirm/resend" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersConfirmResendPost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersConfirmResendPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserEnableInput userEnableInput = new UserEnableInput(); // UserEnableInput | 

try {
    final result = await api_instance.v1UsersConfirmResendPost(userEnableInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersConfirmResendPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersConfirmResendPost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersConfirmResendPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserEnableInput *userEnableInput = ; // 

[apiInstance v1UsersConfirmResendPostWith:userEnableInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userEnableInput = ; // {UserEnableInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersConfirmResendPost(userEnableInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersConfirmResendPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userEnableInput = new UserEnableInput(); // UserEnableInput | 

            try {
                apiInstance.v1UsersConfirmResendPost(userEnableInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersConfirmResendPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userEnableInput = ; // UserEnableInput | 

try {
    $api_instance->v1UsersConfirmResendPost($userEnableInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersConfirmResendPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userEnableInput = WWW::OPenAPIClient::Object::UserEnableInput->new(); # UserEnableInput | 

eval {
    $api_instance->v1UsersConfirmResendPost(userEnableInput => $userEnableInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersConfirmResendPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userEnableInput =  # UserEnableInput | 

try:
    api_instance.v1_users_confirm_resend_post(userEnableInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersConfirmResendPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userEnableInput = ; // UserEnableInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersConfirmResendPost(userEnableInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userEnableInput *

Responses


v1UsersCustomerIdPost


/v1/users/customer/{id}

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/customer/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        UserOutput userOutput = ; // UserOutput | 

        try {
            apiInstance.v1UsersCustomerIdPost(id, userOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersCustomerIdPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final UserOutput userOutput = new UserOutput(); // UserOutput | 

try {
    final result = await api_instance.v1UsersCustomerIdPost(id, userOutput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersCustomerIdPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        UserOutput userOutput = ; // UserOutput | 

        try {
            apiInstance.v1UsersCustomerIdPost(id, userOutput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersCustomerIdPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
UserOutput *userOutput = ; // 

[apiInstance v1UsersCustomerIdPostWith:id
    userOutput:userOutput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var userOutput = ; // {UserOutput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersCustomerIdPost(id, userOutput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersCustomerIdPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var userOutput = new UserOutput(); // UserOutput | 

            try {
                apiInstance.v1UsersCustomerIdPost(id, userOutput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersCustomerIdPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$userOutput = ; // UserOutput | 

try {
    $api_instance->v1UsersCustomerIdPost($id, $userOutput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersCustomerIdPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $userOutput = WWW::OPenAPIClient::Object::UserOutput->new(); # UserOutput | 

eval {
    $api_instance->v1UsersCustomerIdPost(id => $id, userOutput => $userOutput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersCustomerIdPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
userOutput =  # UserOutput | 

try:
    api_instance.v1_users_customer_id_post(id, userOutput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersCustomerIdPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let userOutput = ; // UserOutput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersCustomerIdPost(id, userOutput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
userOutput *

Responses


v1UsersDbcreatePost


/v1/users/dbcreate

Usage and SDK Samples

curl -X POST \
-H "API Key: [[apiKey]]" \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/dbcreate" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure API key authorization: api_key
        ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
        api_key.setApiKey("YOUR API KEY");
        // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
        //api_key.setApiKeyPrefix("Token");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersDbcreatePost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersDbcreatePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserEnableInput userEnableInput = new UserEnableInput(); // UserEnableInput | 

try {
    final result = await api_instance.v1UsersDbcreatePost(userEnableInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersDbcreatePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersDbcreatePost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersDbcreatePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure API key authorization: (authentication scheme: api_key)
[apiConfig setApiKey:@"YOUR_API_KEY" forApiKeyIdentifier:@"API Key"];
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
//[apiConfig setApiKeyPrefix:@"Bearer" forApiKeyIdentifier:@"API Key"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserEnableInput *userEnableInput = ; // 

[apiInstance v1UsersDbcreatePostWith:userEnableInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure API key authorization: api_key
var api_key = defaultClient.authentications['api_key'];
api_key.apiKey = "YOUR API KEY";
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.apiKeyPrefix['API Key'] = "Token";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userEnableInput = ; // {UserEnableInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersDbcreatePost(userEnableInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersDbcreatePostExample
    {
        public void main()
        {
            // Configure API key authorization: api_key
            Configuration.Default.ApiKey.Add("API Key", "YOUR_API_KEY");
            // Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
            // Configuration.Default.ApiKeyPrefix.Add("API Key", "Bearer");

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userEnableInput = new UserEnableInput(); // UserEnableInput | 

            try {
                apiInstance.v1UsersDbcreatePost(userEnableInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersDbcreatePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: api_key
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKey('API Key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// OpenAPITools\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('API Key', 'Bearer');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userEnableInput = ; // UserEnableInput | 

try {
    $api_instance->v1UsersDbcreatePost($userEnableInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersDbcreatePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure API key authorization: api_key
$WWW::OPenAPIClient::Configuration::api_key->{'API Key'} = 'YOUR_API_KEY';
# uncomment below to setup prefix (e.g. Bearer) for API key, if needed
#$WWW::OPenAPIClient::Configuration::api_key_prefix->{'API Key'} = "Bearer";

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userEnableInput = WWW::OPenAPIClient::Object::UserEnableInput->new(); # UserEnableInput | 

eval {
    $api_instance->v1UsersDbcreatePost(userEnableInput => $userEnableInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersDbcreatePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: api_key
openapi_client.configuration.api_key['API Key'] = 'YOUR_API_KEY'
# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
# openapi_client.configuration.api_key_prefix['API Key'] = 'Bearer'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userEnableInput =  # UserEnableInput | 

try:
    api_instance.v1_users_dbcreate_post(userEnableInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersDbcreatePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userEnableInput = ; // UserEnableInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersDbcreatePost(userEnableInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userEnableInput *

Responses


v1UsersEnablePost


/v1/users/enable

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/enable" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersEnablePost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersEnablePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserEnableInput userEnableInput = new UserEnableInput(); // UserEnableInput | 

try {
    final result = await api_instance.v1UsersEnablePost(userEnableInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersEnablePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserEnableInput userEnableInput = ; // UserEnableInput | 

        try {
            apiInstance.v1UsersEnablePost(userEnableInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersEnablePost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserEnableInput *userEnableInput = ; // 

[apiInstance v1UsersEnablePostWith:userEnableInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userEnableInput = ; // {UserEnableInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersEnablePost(userEnableInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersEnablePostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userEnableInput = new UserEnableInput(); // UserEnableInput | 

            try {
                apiInstance.v1UsersEnablePost(userEnableInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersEnablePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userEnableInput = ; // UserEnableInput | 

try {
    $api_instance->v1UsersEnablePost($userEnableInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersEnablePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userEnableInput = WWW::OPenAPIClient::Object::UserEnableInput->new(); # UserEnableInput | 

eval {
    $api_instance->v1UsersEnablePost(userEnableInput => $userEnableInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersEnablePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userEnableInput =  # UserEnableInput | 

try:
    api_instance.v1_users_enable_post(userEnableInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersEnablePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userEnableInput = ; // UserEnableInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersEnablePost(userEnableInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userEnableInput *

Responses


v1UsersIdFuelstationsGet


/v1/users/{id}/fuelstations

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}/fuelstations"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1UsersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1UsersIdFuelstationsGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersIdFuelstationsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[fuelStationOutputArray_inner] result = apiInstance.v1UsersIdFuelstationsGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdFuelstationsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1UsersIdFuelstationsGetWith:id
              completionHandler: ^(array[fuelStationOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersIdFuelstationsGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersIdFuelstationsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[fuelStationOutputArray_inner] result = apiInstance.v1UsersIdFuelstationsGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersIdFuelstationsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1UsersIdFuelstationsGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersIdFuelstationsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1UsersIdFuelstationsGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersIdFuelstationsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_users_id_fuelstations_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersIdFuelstationsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersIdFuelstationsGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1UsersIdFuelstationsOptions


/v1/users/{id}/fuelstations

Usage and SDK Samples

curl -X OPTIONS \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}/fuelstations"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1UsersIdFuelstationsOptions(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdFuelstationsOptions");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1UsersIdFuelstationsOptions(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersIdFuelstationsOptions: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1UsersIdFuelstationsOptions(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdFuelstationsOptions");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1UsersIdFuelstationsOptionsWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersIdFuelstationsOptions(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersIdFuelstationsOptionsExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1UsersIdFuelstationsOptions(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersIdFuelstationsOptions: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1UsersIdFuelstationsOptions($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersIdFuelstationsOptions: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1UsersIdFuelstationsOptions(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersIdFuelstationsOptions: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_users_id_fuelstations_options(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersIdFuelstationsOptions: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersIdFuelstationsOptions(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses

Name Type Format Description
Access-Control-Allow-Origin String
Access-Control-Allow-Methods String
Access-Control-Allow-Headers String

v1UsersIdPut


/v1/users/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersIdPut(id, userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final UserInput userInput = new UserInput(); // UserInput | 

try {
    final result = await api_instance.v1UsersIdPut(id, userInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersIdPut(id, userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
UserInput *userInput = ; // 

[apiInstance v1UsersIdPutWith:id
    userInput:userInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var userInput = ; // {UserInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersIdPut(id, userInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var userInput = new UserInput(); // UserInput | 

            try {
                apiInstance.v1UsersIdPut(id, userInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$userInput = ; // UserInput | 

try {
    $api_instance->v1UsersIdPut($id, $userInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $userInput = WWW::OPenAPIClient::Object::UserInput->new(); # UserInput | 

eval {
    $api_instance->v1UsersIdPut(id => $id, userInput => $userInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
userInput =  # UserInput | 

try:
    api_instance.v1_users_id_put(id, userInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let userInput = ; // UserInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersIdPut(id, userInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
userInput *

Responses


v1UsersIdVehiclesGet


/v1/users/{id}/vehicles

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/{id}/vehicles"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[vehicleOutputArray_inner] result = apiInstance.v1UsersIdVehiclesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdVehiclesGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1UsersIdVehiclesGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersIdVehiclesGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            array[vehicleOutputArray_inner] result = apiInstance.v1UsersIdVehiclesGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersIdVehiclesGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1UsersIdVehiclesGetWith:id
              completionHandler: ^(array[vehicleOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersIdVehiclesGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersIdVehiclesGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                array[vehicleOutputArray_inner] result = apiInstance.v1UsersIdVehiclesGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersIdVehiclesGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1UsersIdVehiclesGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersIdVehiclesGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1UsersIdVehiclesGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersIdVehiclesGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_users_id_vehicles_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersIdVehiclesGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersIdVehiclesGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1UsersMeGet


/v1/users/me

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/me"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            userOutput result = apiInstance.v1UsersMeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersMeGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1UsersMeGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersMeGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            userOutput result = apiInstance.v1UsersMeGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersMeGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1UsersMeGetWithCompletionHandler: 
              ^(userOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersMeGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersMeGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                userOutput result = apiInstance.v1UsersMeGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersMeGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1UsersMeGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersMeGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1UsersMeGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersMeGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_users_me_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersMeGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersMeGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1UsersPost


/v1/users

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersPost(userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserInput userInput = new UserInput(); // UserInput | 

try {
    final result = await api_instance.v1UsersPost(userInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersPost(userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserInput *userInput = ; // 

[apiInstance v1UsersPostWith:userInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userInput = ; // {UserInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersPost(userInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userInput = new UserInput(); // UserInput | 

            try {
                apiInstance.v1UsersPost(userInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userInput = ; // UserInput | 

try {
    $api_instance->v1UsersPost($userInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userInput = WWW::OPenAPIClient::Object::UserInput->new(); # UserInput | 

eval {
    $api_instance->v1UsersPost(userInput => $userInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userInput =  # UserInput | 

try:
    api_instance.v1_users_post(userInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userInput = ; // UserInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersPost(userInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userInput *

Responses


v1UsersPromotePost


/v1/users/promote

Usage and SDK Samples

curl -X POST \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/promote" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserPromoteInput userPromoteInput = ; // UserPromoteInput | 

        try {
            apiInstance.v1UsersPromotePost(userPromoteInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPromotePost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserPromoteInput userPromoteInput = new UserPromoteInput(); // UserPromoteInput | 

try {
    final result = await api_instance.v1UsersPromotePost(userPromoteInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersPromotePost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserPromoteInput userPromoteInput = ; // UserPromoteInput | 

        try {
            apiInstance.v1UsersPromotePost(userPromoteInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPromotePost");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserPromoteInput *userPromoteInput = ; //  (optional)

// 
[apiInstance v1UsersPromotePostWith:userPromoteInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'userPromoteInput':  // {UserPromoteInput} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersPromotePost(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersPromotePostExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userPromoteInput = new UserPromoteInput(); // UserPromoteInput |  (optional) 

            try {
                // 
                apiInstance.v1UsersPromotePost(userPromoteInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersPromotePost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userPromoteInput = ; // UserPromoteInput | 

try {
    $api_instance->v1UsersPromotePost($userPromoteInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersPromotePost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userPromoteInput = WWW::OPenAPIClient::Object::UserPromoteInput->new(); # UserPromoteInput | 

eval {
    $api_instance->v1UsersPromotePost(userPromoteInput => $userPromoteInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersPromotePost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userPromoteInput =  # UserPromoteInput |  (optional)

try:
    # 
    api_instance.v1_users_promote_post(userPromoteInput=userPromoteInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersPromotePost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userPromoteInput = ; // UserPromoteInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersPromotePost(userPromoteInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userPromoteInput

Responses


v1UsersPut


/v1/users

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersPut(userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserInput userInput = new UserInput(); // UserInput | 

try {
    final result = await api_instance.v1UsersPut(userInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserInput userInput = ; // UserInput | 

        try {
            apiInstance.v1UsersPut(userInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserInput *userInput = ; // 

[apiInstance v1UsersPutWith:userInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userInput = ; // {UserInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersPut(userInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userInput = new UserInput(); // UserInput | 

            try {
                apiInstance.v1UsersPut(userInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userInput = ; // UserInput | 

try {
    $api_instance->v1UsersPut($userInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userInput = WWW::OPenAPIClient::Object::UserInput->new(); # UserInput | 

eval {
    $api_instance->v1UsersPut(userInput => $userInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userInput =  # UserInput | 

try:
    api_instance.v1_users_put(userInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userInput = ; // UserInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersPut(userInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userInput *

Responses


v1UsersSearchGet


/v1/users/search

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/search"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[userOutputArray_inner] result = apiInstance.v1UsersSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersSearchGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();


try {
    final result = await api_instance.v1UsersSearchGet();
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersSearchGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();

        try {
            array[userOutputArray_inner] result = apiInstance.v1UsersSearchGet();
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersSearchGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];

[apiInstance v1UsersSearchGetWithCompletionHandler: 
              ^(array[userOutputArray_inner] output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersSearchGet(callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersSearchGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();

            try {
                array[userOutputArray_inner] result = apiInstance.v1UsersSearchGet();
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersSearchGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();

try {
    $result = $api_instance->v1UsersSearchGet();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersSearchGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();

eval {
    my $result = $api_instance->v1UsersSearchGet();
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersSearchGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()

try:
    api_response = api_instance.v1_users_search_get()
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersSearchGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersSearchGet(&context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Responses


v1UsersTermsGet


/v1/users/terms

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/terms?service=service_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String service = service_example; // String | 

        try {
            userPrivacy result = apiInstance.v1UsersTermsGet(service);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTermsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String service = new String(); // String | 

try {
    final result = await api_instance.v1UsersTermsGet(service);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersTermsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String service = service_example; // String | 

        try {
            userPrivacy result = apiInstance.v1UsersTermsGet(service);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTermsGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *service = service_example; //  (optional) (default to null)

[apiInstance v1UsersTermsGetWith:service
              completionHandler: ^(userPrivacy output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var opts = {
  'service': service_example // {String} 
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1UsersTermsGet(opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersTermsGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var service = service_example;  // String |  (optional)  (default to null)

            try {
                userPrivacy result = apiInstance.v1UsersTermsGet(service);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersTermsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$service = service_example; // String | 

try {
    $result = $api_instance->v1UsersTermsGet($service);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersTermsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $service = service_example; # String | 

eval {
    my $result = $api_instance->v1UsersTermsGet(service => $service);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersTermsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
service = service_example # String |  (optional) (default to null)

try:
    api_response = api_instance.v1_users_terms_get(service=service)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersTermsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let service = service_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersTermsGet(service, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
service
String

Responses


v1UsersTermsPut


/v1/users/terms

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/users/terms" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        UserPrivacy userPrivacy = ; // UserPrivacy | 

        try {
            apiInstance.v1UsersTermsPut(userPrivacy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTermsPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final UserPrivacy userPrivacy = new UserPrivacy(); // UserPrivacy | 

try {
    final result = await api_instance.v1UsersTermsPut(userPrivacy);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1UsersTermsPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        UserPrivacy userPrivacy = ; // UserPrivacy | 

        try {
            apiInstance.v1UsersTermsPut(userPrivacy);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1UsersTermsPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
UserPrivacy *userPrivacy = ; // 

[apiInstance v1UsersTermsPutWith:userPrivacy
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var userPrivacy = ; // {UserPrivacy} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1UsersTermsPut(userPrivacy, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1UsersTermsPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var userPrivacy = new UserPrivacy(); // UserPrivacy | 

            try {
                apiInstance.v1UsersTermsPut(userPrivacy);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1UsersTermsPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$userPrivacy = ; // UserPrivacy | 

try {
    $api_instance->v1UsersTermsPut($userPrivacy);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1UsersTermsPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $userPrivacy = WWW::OPenAPIClient::Object::UserPrivacy->new(); # UserPrivacy | 

eval {
    $api_instance->v1UsersTermsPut(userPrivacy => $userPrivacy);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1UsersTermsPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
userPrivacy =  # UserPrivacy | 

try:
    api_instance.v1_users_terms_put(userPrivacy)
except ApiException as e:
    print("Exception when calling DefaultApi->v1UsersTermsPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let userPrivacy = ; // UserPrivacy

    let mut context = DefaultApi::Context::default();
    let result = client.v1UsersTermsPut(userPrivacy, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
userPrivacy *

Responses


v1VehiclesIdDelete


/v1/vehicles/{id}

Usage and SDK Samples

curl -X DELETE \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles/{id}"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1VehiclesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdDelete");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1VehiclesIdDelete(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesIdDelete: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1VehiclesIdDelete(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdDelete");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1VehiclesIdDeleteWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VehiclesIdDelete(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesIdDeleteExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1VehiclesIdDelete(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesIdDelete: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1VehiclesIdDelete($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesIdDelete: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1VehiclesIdDelete(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesIdDelete: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_vehicles_id_delete(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesIdDelete: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesIdDelete(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1VehiclesIdGet


/v1/vehicles/{id}

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles/{id}?article_id=articleId_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String articleId = articleId_example; // String | The article id used to filter vehicles of this customer

        try {
            vehicleOutput result = apiInstance.v1VehiclesIdGet(id, articleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final String articleId = new String(); // String | The article id used to filter vehicles of this customer

try {
    final result = await api_instance.v1VehiclesIdGet(id, articleId);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesIdGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        String articleId = articleId_example; // String | The article id used to filter vehicles of this customer

        try {
            vehicleOutput result = apiInstance.v1VehiclesIdGet(id, articleId);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
String *articleId = articleId_example; // The article id used to filter vehicles of this customer (optional) (default to null)

[apiInstance v1VehiclesIdGetWith:id
    articleId:articleId
              completionHandler: ^(vehicleOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var opts = {
  'articleId': articleId_example // {String} The article id used to filter vehicles of this customer
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1VehiclesIdGet(id, opts, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesIdGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var articleId = articleId_example;  // String | The article id used to filter vehicles of this customer (optional)  (default to null)

            try {
                vehicleOutput result = apiInstance.v1VehiclesIdGet(id, articleId);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesIdGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$articleId = articleId_example; // String | The article id used to filter vehicles of this customer

try {
    $result = $api_instance->v1VehiclesIdGet($id, $articleId);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesIdGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $articleId = articleId_example; # String | The article id used to filter vehicles of this customer

eval {
    my $result = $api_instance->v1VehiclesIdGet(id => $id, articleId => $articleId);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesIdGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
articleId = articleId_example # String | The article id used to filter vehicles of this customer (optional) (default to null)

try:
    api_response = api_instance.v1_vehicles_id_get(id, articleId=articleId)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesIdGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let articleId = articleId_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesIdGet(id, articleId, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Query parameters
Name Description
article_id
String
The article id used to filter vehicles of this customer

Responses


v1VehiclesIdPut


/v1/vehicles/{id}

Usage and SDK Samples

curl -X PUT \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles/{id}" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        VehicleInput vehicleInput = ; // VehicleInput | 

        try {
            apiInstance.v1VehiclesIdPut(id, vehicleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdPut");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 
final VehicleInput vehicleInput = new VehicleInput(); // VehicleInput | 

try {
    final result = await api_instance.v1VehiclesIdPut(id, vehicleInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesIdPut: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 
        VehicleInput vehicleInput = ; // VehicleInput | 

        try {
            apiInstance.v1VehiclesIdPut(id, vehicleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdPut");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)
VehicleInput *vehicleInput = ; // 

[apiInstance v1VehiclesIdPutWith:id
    vehicleInput:vehicleInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 
var vehicleInput = ; // {VehicleInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VehiclesIdPut(id, vehicleInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesIdPutExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)
            var vehicleInput = new VehicleInput(); // VehicleInput | 

            try {
                apiInstance.v1VehiclesIdPut(id, vehicleInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesIdPut: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 
$vehicleInput = ; // VehicleInput | 

try {
    $api_instance->v1VehiclesIdPut($id, $vehicleInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesIdPut: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 
my $vehicleInput = WWW::OPenAPIClient::Object::VehicleInput->new(); # VehicleInput | 

eval {
    $api_instance->v1VehiclesIdPut(id => $id, vehicleInput => $vehicleInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesIdPut: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)
vehicleInput =  # VehicleInput | 

try:
    api_instance.v1_vehicles_id_put(id, vehicleInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesIdPut: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String
    let vehicleInput = ; // VehicleInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesIdPut(id, vehicleInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required
Body parameters
Name Description
vehicleInput *

Responses


v1VehiclesIdQrEmailPost


/v1/vehicles/{id}/qr/email

Usage and SDK Samples

curl -X POST \
 \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles/{id}/qr/email"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1VehiclesIdQrEmailPost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdQrEmailPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1VehiclesIdQrEmailPost(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesIdQrEmailPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            apiInstance.v1VehiclesIdQrEmailPost(id);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdQrEmailPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1VehiclesIdQrEmailPostWith:id
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VehiclesIdQrEmailPost(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesIdQrEmailPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                apiInstance.v1VehiclesIdQrEmailPost(id);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesIdQrEmailPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $api_instance->v1VehiclesIdQrEmailPost($id);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesIdQrEmailPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    $api_instance->v1VehiclesIdQrEmailPost(id => $id);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesIdQrEmailPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_instance.v1_vehicles_id_qr_email_post(id)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesIdQrEmailPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesIdQrEmailPost(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1VehiclesIdQrGet


/v1/vehicles/{id}/qr

Usage and SDK Samples

curl -X GET \
 \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles/{id}/qr"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            vehicleOutput result = apiInstance.v1VehiclesIdQrGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdQrGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String id = new String(); // String | 

try {
    final result = await api_instance.v1VehiclesIdQrGet(id);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesIdQrGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String id = id_example; // String | 

        try {
            vehicleOutput result = apiInstance.v1VehiclesIdQrGet(id);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesIdQrGet");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *id = id_example; //  (default to null)

[apiInstance v1VehiclesIdQrGetWith:id
              completionHandler: ^(vehicleOutput output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var id = id_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1VehiclesIdQrGet(id, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesIdQrGetExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var id = id_example;  // String |  (default to null)

            try {
                vehicleOutput result = apiInstance.v1VehiclesIdQrGet(id);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesIdQrGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$id = id_example; // String | 

try {
    $result = $api_instance->v1VehiclesIdQrGet($id);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesIdQrGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $id = id_example; # String | 

eval {
    my $result = $api_instance->v1VehiclesIdQrGet(id => $id);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesIdQrGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
id = id_example # String |  (default to null)

try:
    api_response = api_instance.v1_vehicles_id_qr_get(id)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesIdQrGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let id = id_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesIdQrGet(id, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Path parameters
Name Description
id*
String
Required

Responses


v1VehiclesPost


/v1/vehicles

Usage and SDK Samples

curl -X POST \
 \
 -H "Content-Type: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/vehicles" \
 -d ''
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {
        ApiClient defaultClient = Configuration.getDefaultApiClient();

        // Configure OAuth2 access token for authorization: cognito
        OAuth cognito = (OAuth) defaultClient.getAuthentication("cognito");
        cognito.setAccessToken("YOUR ACCESS TOKEN");

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        VehicleInput vehicleInput = ; // VehicleInput | 

        try {
            apiInstance.v1VehiclesPost(vehicleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesPost");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final VehicleInput vehicleInput = new VehicleInput(); // VehicleInput | 

try {
    final result = await api_instance.v1VehiclesPost(vehicleInput);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VehiclesPost: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        VehicleInput vehicleInput = ; // VehicleInput | 

        try {
            apiInstance.v1VehiclesPost(vehicleInput);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VehiclesPost");
            e.printStackTrace();
        }
    }
}
Configuration *apiConfig = [Configuration sharedConfig];

// Configure OAuth2 access token for authorization: (authentication scheme: cognito)
[apiConfig setAccessToken:@"YOUR_ACCESS_TOKEN"];


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
VehicleInput *vehicleInput = ; // 

[apiInstance v1VehiclesPostWith:vehicleInput
              completionHandler: ^(NSError* error) {
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');
var defaultClient = PublicApi.ApiClient.instance;

// Configure OAuth2 access token for authorization: cognito
var cognito = defaultClient.authentications['cognito'];
cognito.accessToken = "YOUR ACCESS TOKEN";

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var vehicleInput = ; // {VehicleInput} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.v1VehiclesPost(vehicleInput, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VehiclesPostExample
    {
        public void main()
        {
            // Configure OAuth2 access token for authorization: cognito
            Configuration.Default.AccessToken = "YOUR_ACCESS_TOKEN";

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var vehicleInput = new VehicleInput(); // VehicleInput | 

            try {
                apiInstance.v1VehiclesPost(vehicleInput);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VehiclesPost: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure OAuth2 access token for authorization: cognito
OpenAPITools\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$vehicleInput = ; // VehicleInput | 

try {
    $api_instance->v1VehiclesPost($vehicleInput);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VehiclesPost: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Configure OAuth2 access token for authorization: cognito
$WWW::OPenAPIClient::Configuration::access_token = 'YOUR_ACCESS_TOKEN';

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $vehicleInput = WWW::OPenAPIClient::Object::VehicleInput->new(); # VehicleInput | 

eval {
    $api_instance->v1VehiclesPost(vehicleInput => $vehicleInput);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VehiclesPost: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Configure OAuth2 access token for authorization: cognito
openapi_client.configuration.access_token = 'YOUR_ACCESS_TOKEN'

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
vehicleInput =  # VehicleInput | 

try:
    api_instance.v1_vehicles_post(vehicleInput)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VehiclesPost: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let vehicleInput = ; // VehicleInput

    let mut context = DefaultApi::Context::default();
    let result = client.v1VehiclesPost(vehicleInput, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Body parameters
Name Description
vehicleInput *

Responses


v1VersionsGet


/v1/versions

Usage and SDK Samples

curl -X GET \
 -H "Accept: application/json" \
 "https://mxp-public-api.prod.icadsistemi.com/v1/versions?application=application_example"
import org.openapitools.client.*;
import org.openapitools.client.auth.*;
import org.openapitools.client.model.*;
import org.openapitools.client.api.DefaultApi;

import java.io.File;
import java.util.*;

public class DefaultApiExample {
    public static void main(String[] args) {

        // Create an instance of the API class
        DefaultApi apiInstance = new DefaultApi();
        String application = application_example; // String | 

        try {
            version result = apiInstance.v1VersionsGet(application);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VersionsGet");
            e.printStackTrace();
        }
    }
}
import 'package:openapi/api.dart';

final api_instance = DefaultApi();

final String application = new String(); // String | 

try {
    final result = await api_instance.v1VersionsGet(application);
    print(result);
} catch (e) {
    print('Exception when calling DefaultApi->v1VersionsGet: $e\n');
}

import org.openapitools.client.api.DefaultApi;

public class DefaultApiExample {
    public static void main(String[] args) {
        DefaultApi apiInstance = new DefaultApi();
        String application = application_example; // String | 

        try {
            version result = apiInstance.v1VersionsGet(application);
            System.out.println(result);
        } catch (ApiException e) {
            System.err.println("Exception when calling DefaultApi#v1VersionsGet");
            e.printStackTrace();
        }
    }
}


// Create an instance of the API class
DefaultApi *apiInstance = [[DefaultApi alloc] init];
String *application = application_example; //  (default to null)

[apiInstance v1VersionsGetWith:application
              completionHandler: ^(version output, NSError* error) {
    if (output) {
        NSLog(@"%@", output);
    }
    if (error) {
        NSLog(@"Error: %@", error);
    }
}];
var PublicApi = require('public_api');

// Create an instance of the API class
var api = new PublicApi.DefaultApi()
var application = application_example; // {String} 

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.v1VersionsGet(application, callback);
using System;
using System.Diagnostics;
using Org.OpenAPITools.Api;
using Org.OpenAPITools.Client;
using Org.OpenAPITools.Model;

namespace Example
{
    public class v1VersionsGetExample
    {
        public void main()
        {

            // Create an instance of the API class
            var apiInstance = new DefaultApi();
            var application = application_example;  // String |  (default to null)

            try {
                version result = apiInstance.v1VersionsGet(application);
                Debug.WriteLine(result);
            } catch (Exception e) {
                Debug.Print("Exception when calling DefaultApi.v1VersionsGet: " + e.Message );
            }
        }
    }
}
<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Create an instance of the API class
$api_instance = new OpenAPITools\Client\Api\DefaultApi();
$application = application_example; // String | 

try {
    $result = $api_instance->v1VersionsGet($application);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->v1VersionsGet: ', $e->getMessage(), PHP_EOL;
}
?>
use Data::Dumper;
use WWW::OPenAPIClient::Configuration;
use WWW::OPenAPIClient::DefaultApi;

# Create an instance of the API class
my $api_instance = WWW::OPenAPIClient::DefaultApi->new();
my $application = application_example; # String | 

eval {
    my $result = $api_instance->v1VersionsGet(application => $application);
    print Dumper($result);
};
if ($@) {
    warn "Exception when calling DefaultApi->v1VersionsGet: $@\n";
}
from __future__ import print_statement
import time
import openapi_client
from openapi_client.rest import ApiException
from pprint import pprint

# Create an instance of the API class
api_instance = openapi_client.DefaultApi()
application = application_example # String |  (default to null)

try:
    api_response = api_instance.v1_versions_get(application)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling DefaultApi->v1VersionsGet: %s\n" % e)
extern crate DefaultApi;

pub fn main() {
    let application = application_example; // String

    let mut context = DefaultApi::Context::default();
    let result = client.v1VersionsGet(application, &context).wait();

    println!("{:?}", result);
}

Scopes

Parameters

Query parameters
Name Description
application*
String
Required

Responses